Added codestyle check and lint to the build action (#798)

* Applied `make format`

* Added format-check to makefile

* Added a "Check codestyle" step to the build action.

* Rerun `make format`

* Added a "lint" target to makefile

* Added lint step to the build action

* Added W503 to the list of ignored flake8 errors.

See https://www.flake8rules.com/rules/W503.html
This commit is contained in:
Matyáš Richter
2021-11-23 08:13:11 +01:00
committed by GitHub
parent 0f68923b8b
commit 48d1be87a4
12 changed files with 46 additions and 47 deletions

View File

@ -105,9 +105,7 @@ class TestRegister:
@pytest.mark.asyncio
async def test_register_namespace(
get_user_manager
):
async def test_register_namespace(get_user_manager):
app = FastAPI()
app.include_router(
get_register_router(