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