diff --git a/app/main.py b/app/main.py index ecbfd672..e3218407 100644 --- a/app/main.py +++ b/app/main.py @@ -17,12 +17,7 @@ def format_single_linter_file(file_path: str, errors: list) -> dict: for error in errors ], "path": file_path, - "status": "failed" - if len(errors) > 0 - else { - "path": file_path, - "status": "passed" - } + "status": "failed" if len(errors) > 0 else "passed" }