diff options
author | Mark Byrne <31762852+mbyrnepr2@users.noreply.github.com> | 2022-08-26 09:13:12 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-26 09:13:12 +0200 |
commit | bb0df4aa205955064b962627e91135b773fa932a (patch) | |
tree | 3b262ef38d63a7b030721b074000995f1f2f70da /tox.ini | |
parent | 1582e37982a174bc6be734f317f575b692a2f88f (diff) | |
download | pylint-git-bb0df4aa205955064b962627e91135b773fa932a.tar.gz |
Update `tox.ini` (#7358)
- Install `requirements_test.txt` into `formatting` & `pylint` environments.
`import-error` was showing during the `pylint` run for `contributors-txt` & `colorama` in these two environments.
- Bump `minversion` to match the version in `requirements_test.txt`.
- Bump `pre-commit` dependency version in the `mypy` environment to match the version in `requirements_test.txt`.
Diffstat (limited to 'tox.ini')
-rw-r--r-- | tox.ini | 10 |
1 files changed, 4 insertions, 6 deletions
@@ -1,5 +1,5 @@ [tox] -minversion = 2.4 +minversion = 3.0 envlist = formatting, py37, py38, py39, py310, pypy, benchmark skip_missing_interpreters = true requires = pip >=21.3.1 @@ -7,23 +7,21 @@ isolated_build = true [testenv:pylint] deps = - -r {toxinidir}/requirements_test_min.txt - pre-commit~=2.13 + -r {toxinidir}/requirements_test.txt commands = pre-commit run pylint --all-files [testenv:formatting] basepython = python3 deps = - -r {toxinidir}/requirements_test_min.txt - pre-commit~=2.13 + -r {toxinidir}/requirements_test.txt commands = pre-commit run --all-files [testenv:mypy] basepython = python3 deps = - pre-commit~=2.13 + pre-commit~=2.20 commands = pre-commit run mypy --all-files |