Commit 1cf06510 by Bjorn Neergaard

ci(flake8): further improve config

parent 9bed9074
[flake8] [flake8]
min_python_version = 3.6.0 min_python_version = 3.6.0
ignore = max-line-length = 88
# E501: Line too long extend-ignore =
# E501: Line too long (FIXME: long string constants)
E501, E501,
# W503: Line break occurred before a binary operator # E203: Whitespace before ':' (pycqa/pycodestyle#373)
W503 E203,
per-file-ignores = per-file-ignores =
# F401: Module imported by unused # F401: Module imported by unused (non-implicit modules)
__init__.py:F401 __init__.py:F401
exclude = extend-exclude =
*/fixtures/**/setup.py # Frozen and not subject to change in this repo:
.git, get-poetry.py,
.github, install-poetry.py,
.mypy_cache, # External to the project's coding standards:
.pytest_cache, tests/fixtures/*,
.tox, tests/**/fixtures/*,
.venv,
.vscode,
__pycache__,
dist,
...@@ -45,7 +45,7 @@ repos: ...@@ -45,7 +45,7 @@ repos:
hooks: hooks:
- id: flake8 - id: flake8
additional_dependencies: additional_dependencies:
- flake8-bugbear - flake8-bugbear==21.9.2
- repo: https://github.com/pre-commit/mirrors-mypy - repo: https://github.com/pre-commit/mirrors-mypy
rev: v0.910-1 rev: v0.910-1
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment