From 8fa94bb416309c8bbb5a5247d6fd8c338ed3a76c Mon Sep 17 00:00:00 2001 From: "Andrey K. Choi" Date: Thu, 11 Sep 2025 12:11:02 +0900 Subject: [PATCH] flake8 fix --- .flake8 | 36 ++++-------------------------------- 1 file changed, 4 insertions(+), 32 deletions(-) diff --git a/.flake8 b/.flake8 index 1a7d2df..21396ff 100644 --- a/.flake8 +++ b/.flake8 @@ -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 -- 2.49.1