2021-05-04 13:39:40 +02:00
|
|
|
[flake8]
|
|
|
|
ignore =
|
2021-05-09 16:31:53 +02:00
|
|
|
# First category : "ffs flake8 let black do its own formatting"
|
2021-05-04 13:39:40 +02:00
|
|
|
# whitespace before ':'
|
|
|
|
E203
|
|
|
|
# blank line contains whitespace
|
|
|
|
W293
|
2021-05-09 16:31:53 +02:00
|
|
|
# expected 2 blank lines, found 1
|
|
|
|
E302
|
|
|
|
# break after binary op.
|
|
|
|
W503
|
|
|
|
|
|
|
|
# Second category : "I know what I'm doing leave me alone"
|
|
|
|
# f-string is missing placeholders
|
|
|
|
F541
|
2021-05-04 13:39:40 +02:00
|
|
|
# do not assign a lambda expression, use a def
|
|
|
|
E731
|
|
|
|
exclude =
|
|
|
|
.git
|
2021-05-12 16:32:39 +02:00
|
|
|
.hypothesis
|
|
|
|
.mypy_cache
|
|
|
|
.pytest_cache
|
2022-03-08 22:18:08 +01:00
|
|
|
.venv # For the CI pipeline : don't check the local dependency cache
|
2021-05-12 16:32:39 +02:00
|
|
|
.vscode
|
2021-05-04 13:39:40 +02:00
|
|
|
__pycache__
|
2021-05-12 16:32:39 +02:00
|
|
|
docs
|
2021-05-04 13:39:40 +02:00
|
|
|
dist
|
|
|
|
build
|
|
|
|
per-file-ignores =
|
|
|
|
# Allow re-exporting in __init__.py files
|
|
|
|
__init__.py: F401
|
|
|
|
# Allow star imports in test example files
|
|
|
|
example*.py: F405, F403
|
|
|
|
# Silence weird false positive on inline comments ...
|
|
|
|
jubeatools/formats/jubeat_analyser/symbols.py: E262
|
|
|
|
max-line-length = 120
|