1
0
mirror of https://gitlab.crans.org/bde/nk20 synced 2024-11-26 18:37:12 +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] [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,