mirror of https://gitlab.crans.org/bde/nk20
Remove deprecation warning and enable some linting rules
This commit is contained in:
parent
4da5c41f40
commit
06679b2e6a
5
tox.ini
5
tox.ini
|
@ -11,8 +11,6 @@ skipsdist = True
|
||||||
|
|
||||||
[testenv]
|
[testenv]
|
||||||
sitepackages = True
|
sitepackages = True
|
||||||
setenv =
|
|
||||||
PYTHONWARNINGS = all
|
|
||||||
deps =
|
deps =
|
||||||
-r{toxinidir}/requirements.txt
|
-r{toxinidir}/requirements.txt
|
||||||
coverage
|
coverage
|
||||||
|
@ -34,8 +32,7 @@ commands =
|
||||||
flake8 apps/activity apps/api apps/logs apps/member apps/note apps/permission apps/treasury apps/wei
|
flake8 apps/activity apps/api apps/logs apps/member apps/note apps/permission apps/treasury apps/wei
|
||||||
|
|
||||||
[flake8]
|
[flake8]
|
||||||
# Ignore too many errors, should be reduced in the future
|
ignore = I100, I101
|
||||||
ignore = D203, W503, E203, I100, I101, C901
|
|
||||||
exclude =
|
exclude =
|
||||||
.tox,
|
.tox,
|
||||||
.git,
|
.git,
|
||||||
|
|
Loading…
Reference in New Issue