-
-
Notifications
You must be signed in to change notification settings - Fork 55
/
setup.cfg
27 lines (25 loc) · 955 Bytes
/
setup.cfg
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
[aliases]
test=pytest
[flake8]
max-complexity = 16
extend-select = E,W1,W2,W3,W504,W505,W6
enable-extensions = B,C,D,DJ,F,G,I,M,N,R,SF
# Should be fixed:
# D10 - we are missing many docstrings
# D20* - wrong docstring formatting
# D40* - many strings need rephrasing
# DJ04 - use underscores in URLs
# DJ05 - namespace in URLs include
# False positives:
# E203 - see https://github.com/psf/black/issues/315
extend-ignore = E203,DJ04,DJ05,D10,D200,D202,D204,D205,D209,DJ02,T201
exclude = settings.py,settings_test.py,settings_local.py,.git,data,data-test,settings_test_nose.py,docs,.venv,build,node_modules
max-line-length = 88
per-file-ignores =
weblate_web/migrations/*.py:DJ01,E501
payments/models.py:DJ01
payments/migrations/*.py:DJ01
[pycodestyle]
extend-select = E,W1,W2,W3,W504,W505,W6
exclude = migrations,settings.py,settings_test.py,.git,data,data-test,settings_test_nose.py,docs,.venv,build,node_modules
max-line-length = 88