diff --git a/.github/workflows/lint_and_test.yml b/.github/workflows/lint_and_test.yml index 5961df98..775a5b65 100644 --- a/.github/workflows/lint_and_test.yml +++ b/.github/workflows/lint_and_test.yml @@ -35,12 +35,12 @@ jobs: - name: Lint app/ with flake8 run: | # exit-zero treats all errors as warnings. - flake8 app/ --exit-zero + flake8 app/ - name: Lint test/ with flake8 run: | # exit-zero treats all errors as warnings. - flake8 test/ --exit-zero + flake8 test/ - name: Test with pytest run: | diff --git a/app/main.py b/app/main.py index 162f8e60..f84b771f 100644 --- a/app/main.py +++ b/app/main.py @@ -96,7 +96,7 @@ def custom_openapi(): license_info={ "name": "Open Government Licence v3", "url": "https://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/", - }, + }, routes=app.routes, ) openapi_schema["info"]["x-logo"] = {