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