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:
5
tox.ini
5
tox.ini
@@ -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
|
||||
|
Reference in New Issue
Block a user