Some checks reported errors
continuous-integration/drone/push Build encountered an error
35 lines
1.1 KiB
INI
35 lines
1.1 KiB
INI
[flake8]
|
|
max-line-length = 100
|
|
extend-ignore =
|
|
# Игнорируем некоторые правила для CI
|
|
E501, # line too long (handled by black)
|
|
E203, # whitespace before ':' (conflicts with black)
|
|
W503, # line break before binary operator (conflicts with black)
|
|
F401, # imported but unused (will be handled later)
|
|
W291, # trailing whitespace (cosmetic)
|
|
W293, # blank line contains whitespace (cosmetic)
|
|
F541, # f-string is missing placeholders (minor)
|
|
E402, # module level import not at top (some are intentional)
|
|
E302, # expected 2 blank lines (cosmetic)
|
|
E129, # visually indented line with same indent (minor)
|
|
E999 # syntax error (will cause other failures anyway)
|
|
E203, # whitespace before ':' (conflicts with black)
|
|
W503 # line break before binary operator (conflicts with black)
|
|
|
|
exclude =
|
|
.git,
|
|
__pycache__,
|
|
.drone.yml*,
|
|
build,
|
|
dist,
|
|
*.egg-info,
|
|
.venv,
|
|
venv,
|
|
.tox
|
|
|
|
per-file-ignores =
|
|
# Allow imports and setup in __init__.py files
|
|
__init__.py:F401
|
|
# Allow longer lines in test files
|
|
tests/*.py:E501
|