kemono2/.flake8
2025-04-11 00:58:59 +02:00

23 lines
485 B
INI

[flake8]
ignore =
# Some template strings can easily go over the limit
E501
# Doesn't work well with __init__.py files
F401
# flake struggles with endpoints returning tuples on exceptions
E722
# apparently it's both an antipattern and a best practice:
# https://www.flake8rules.com/rules/W503.html
# just python things
W503
exclude =
.git,
__pycache__,
venv
max-complexity = 14
[pycodestyle]
max_line_length = 120
ignore =
E501