1
0
mirror of https://gitlab.com/animath/si/plateforme-corres2math.git synced 2025-08-21 16:07:22 +02:00

More constraints on linting (surely removed in the future)

This commit is contained in:
Yohann D'ANELLO
2020-09-24 12:06:33 +02:00
parent ad2f1391a4
commit 05528cd58c
12 changed files with 23 additions and 29 deletions

View File

@@ -11,7 +11,7 @@ deps =
-r{toxinidir}/requirements.txt
coverage
commands =
coverage run --omit='*migrations*,apps/scripts*' --source=apps,note_kfet ./manage.py test apps/
coverage run --omit='*migrations*,apps/scripts*' --source=apps,tfjm ./manage.py test apps/
coverage report -m
[testenv:linters]
@@ -27,7 +27,6 @@ commands =
flake8 apps/
[flake8]
ignore = W503, I100, I101
exclude =
.tox,
.git,
@@ -39,7 +38,7 @@ exclude =
.cache,
.eggs,
*migrations*
max-complexity = 15
max-complexity = 10
max-line-length = 160
import-order-style = google
application-import-names = flake8