flake8 fix
Some checks failed
continuous-integration/drone/pr Build is failing

This commit is contained in:
2025-09-11 12:11:02 +09:00
parent 414fda7842
commit 8fa94bb416

36
.flake8
View File

@@ -1,34 +1,6 @@
[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)
max-line-length = 88
extend-ignore = E501,E203,W503,F401,W291,W293,F541,E402,E302,E129,E999
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
exclude = .git,__pycache__,.drone.yml*,build,dist,*.egg-info,.venv,venv,.tox
per-file-ignores = __init__.py:F401,tests/*.py:E501