diff options
author | Daniel Schadt <kingdread@gmx.de> | 2022-07-17 21:09:57 +0200 |
---|---|---|
committer | Daniel Schadt <kingdread@gmx.de> | 2022-07-17 21:09:57 +0200 |
commit | 9cc960ef8bfcfe98c855c743ceb36c2f09f7a965 (patch) | |
tree | 6bbca1fec9128144f5ebab03e9f180e12c3ad633 /tox.ini | |
parent | 333a06478b40d2e1b0f2243745807c745005233a (diff) | |
download | fietsboek-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.ini | 9 |
1 files changed, 8 insertions, 1 deletions
@@ -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 |