aboutsummaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
authorDaniel Schadt <kingdread@gmx.de>2022-07-17 21:09:57 +0200
committerDaniel Schadt <kingdread@gmx.de>2022-07-17 21:09:57 +0200
commit9cc960ef8bfcfe98c855c743ceb36c2f09f7a965 (patch)
tree6bbca1fec9128144f5ebab03e9f180e12c3ad633 /tox.ini
parent333a06478b40d2e1b0f2243745807c745005233a (diff)
downloadfietsboek-9cc960ef8bfcfe98c855c743ceb36c2f09f7a965.tar.gz
fietsboek-9cc960ef8bfcfe98c855c743ceb36c2f09f7a965.tar.bz2
fietsboek-9cc960ef8bfcfe98c855c743ceb36c2f09f7a965.zip
run pylint on the test files as well
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini9
1 files changed, 8 insertions, 1 deletions
diff --git a/tox.ini b/tox.ini
index 52aa512..80e93f2 100644
--- a/tox.ini
+++ b/tox.ini
@@ -5,7 +5,7 @@ per-file-ignores =
fietsboek/models/__init__.py:F401
[tox]
-envlist = python,pylint,flake8
+envlist = python,pylint,pylint-tests,flake8
[testenv]
deps = pytest
@@ -21,6 +21,13 @@ usedevelop = true
commands =
pylint fietsboek
+[testenv:pylint-tests]
+deps = pylint
+usedevelop = true
+allowlist_externals = bash
+commands =
+ bash -c "pylint --rcfile=pylint.tests.toml tests/**/*.py"
+
[testenv:flake8]
deps = flake8
usedevelop = true