diff --git a/tox.ini b/tox.ini index 95a6a4563..d7948ef6d 100644 --- a/tox.ini +++ b/tox.ini @@ -1,8 +1,8 @@ [tox] +minversion = 1.9 envlist = lint py{py3, 311, 310, 39, 38} -minversion = 1.9 [testenv] deps = @@ -15,15 +15,16 @@ commands = {envpython} -m pip install --global-option="build_ext" --global-option="--inplace" . {envpython} selftest.py {envpython} -m pytest -W always {posargs} -allowlist_externals = make +allowlist_externals = + make [testenv:lint] -passenv = - PRE_COMMIT_COLOR skip_install = true deps = check-manifest pre-commit +passenv = + PRE_COMMIT_COLOR commands = pre-commit run --all-files --show-diff-on-failure check-manifest