From 9727e6ef4bb0b5a0ef3133a0dc0b7d47e388fe74 Mon Sep 17 00:00:00 2001 From: Yanqiao4396 Date: Sat, 25 Feb 2023 13:12:00 -0500 Subject: [PATCH] Factor: lint fix --- gatorgrade/output/output.py | 2 +- tests/output/test_output.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/gatorgrade/output/output.py b/gatorgrade/output/output.py index cc13c411..1dd61632 100644 --- a/gatorgrade/output/output.py +++ b/gatorgrade/output/output.py @@ -181,7 +181,7 @@ def create_markdown_report_file(json: dict) -> str: elif "command" in check: val = check["command"] markdown_contents += f"\n\t- **command:** {val}" - if 'diagnostic' in check: + if "diagnostic" in check: markdown_contents += f"\n\t- **diagnostic:** {check['diagnostic']}" markdown_contents += "\n" diff --git a/tests/output/test_output.py b/tests/output/test_output.py index 325068ea..c1104823 100644 --- a/tests/output/test_output.py +++ b/tests/output/test_output.py @@ -257,7 +257,7 @@ def test_json_report_file_created_correctly(): "File": "hello-world.py", }, "status": False, - "diagnostic":"\"\" thrown by GatorGrader", + "diagnostic": "\"\" thrown by GatorGrader", }, ], }