diff --git a/tox.ini b/tox.ini index 510b9e5..f4492c9 100644 --- a/tox.ini +++ b/tox.ini @@ -27,3 +27,11 @@ description = Report test coverage deps = {[testenv:fresh]deps} commands = python -m coverage report --skip-covered +[testenv:lint] +description = Run pylint +deps = {[testenv]deps} + pylint-django +commands_pre = {[testenv]commands_pre} + python -m pylint --version +commands = python -m pylint --fail-under=8 --django-settings-module='tests.settings' dav_* +