test_runner: revive flake8

This commit is contained in:
Alexander Bayandin
2022-08-18 13:42:06 +01:00
committed by Alexander Bayandin
parent 4c2bb43775
commit ae3227509c
6 changed files with 45 additions and 22 deletions

View File

@@ -118,6 +118,7 @@ Run the following commands in the repository's root (next to `pyproject.toml`):
```bash
poetry run isort . # Imports are reformatted
poetry run black . # All code is reformatted
poetry run flake8 . # Python linter
poetry run mypy . # Ensure there are no typing errors
```
@@ -126,7 +127,7 @@ Otherwise it will not find its configuration.
Also consider:
* Running `flake8` (or a linter of your choice, e.g. `pycodestyle`) and fixing possible defects, if any.
* Running `pycodestyle` (or a linter of your choice) and fixing possible defects, if any.
* Adding more type hints to your code to avoid `Any`.
### Changing dependencies