1
0
mirror of https://gitlab.crans.org/bde/nk20 synced 2024-12-22 23:42:25 +00:00

Remove deprecation warning and enable some linting rules

This commit is contained in:
Alexandre Iooss 2020-09-02 22:27:04 +02:00
parent 4da5c41f40
commit 06679b2e6a

View File

@ -11,8 +11,6 @@ skipsdist = True
[testenv]
sitepackages = True
setenv =
PYTHONWARNINGS = all
deps =
-r{toxinidir}/requirements.txt
coverage
@ -34,8 +32,7 @@ commands =
flake8 apps/activity apps/api apps/logs apps/member apps/note apps/permission apps/treasury apps/wei
[flake8]
# Ignore too many errors, should be reduced in the future
ignore = D203, W503, E203, I100, I101, C901
ignore = I100, I101
exclude =
.tox,
.git,