2020-12-06 10:25:32 +00:00
|
|
|
[flake8]
|
2022-02-06 20:16:21 +00:00
|
|
|
max-line-length = 88
|
2022-02-06 23:55:27 +00:00
|
|
|
select = C,E,F,W,B,B902,B903,B904,B950
|
2022-02-06 20:16:21 +00:00
|
|
|
extend-ignore =
|
|
|
|
# For black compatibility
|
2021-01-11 09:28:29 +00:00
|
|
|
E203,
|
2022-02-06 20:16:21 +00:00
|
|
|
E501,
|
2021-01-11 09:28:29 +00:00
|
|
|
# Ignore "f-string is missing placeholders"
|
2022-04-22 08:36:19 +00:00
|
|
|
F541,
|
|
|
|
# allow bare except
|
2022-04-22 08:39:01 +00:00
|
|
|
E722, B001
|
2022-02-06 16:08:40 +00:00
|
|
|
exclude =
|
2020-12-06 10:25:32 +00:00
|
|
|
.git,
|
|
|
|
__pycache__,
|
|
|
|
.pytest_cache,
|
2022-02-06 16:08:40 +00:00
|
|
|
.venv,
|
2020-12-06 10:25:32 +00:00
|
|
|
static,
|
|
|
|
templates,
|
|
|
|
# migrations are generated by alembic
|
|
|
|
migrations,
|
2022-01-26 14:22:37 +00:00
|
|
|
docs,
|
|
|
|
shell.py
|
2020-12-06 10:25:32 +00:00
|
|
|
|
|
|
|
per-file-ignores =
|
2020-12-06 21:33:55 +00:00
|
|
|
# ignore unused imports in __init__
|
2022-02-06 16:08:40 +00:00
|
|
|
__init__.py:F401
|