From 93b8b8bef17d56e3b2871325ae2c2a0e21ad9046 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Emil=20Stenstr=C3=B6m?= Date: Fri, 12 Jul 2024 13:06:28 +0200 Subject: [PATCH] Add py310 and fail on no env. --- tox.ini | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/tox.ini b/tox.ini index 53b3d0c..51c0124 100644 --- a/tox.ini +++ b/tox.ini @@ -9,6 +9,16 @@ envlist = coverage,flake8,isort,mypy requires = virtualenv<=20.21.1 + +[gh-actions] +# Note: coverage runs the tests, so no need for py on the last row +python = + 3.6: py36 + 3.7: py37 + 3.8: py38 + 3.9: py39 + 3.10: py310, coverage, flake8, isort, mypy +fail_on_no_env = True isolated_build = True [testenv] @@ -60,12 +70,3 @@ deps = mypy commands = mypy . {[cleanup]commands} - -[gh-actions] -# Note: coverage runs the tests, so no need for py on the last row -python = - 3.6: py36 - 3.7: py37 - 3.8: py38 - 3.9: py39 - 3.10: coverage, flake8, isort, mypy