diff --git a/pyproject.toml b/pyproject.toml index 8ea4ce8..513a48e 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -110,3 +110,28 @@ ignore_errors = true module = ["imlib.cells.*"] ignore_errors = false strict = true + +[tool.tox] +legacy_tox_ini = """ +[tox] +envlist = py{39,310,311} +isolated_build = True + +[gh-actions] +python = + 3.9: py39 + 3.10: py310 + 3.11: py311 + +[testenv] +extras = + dev +commands = + pytest -v --color=yes --cov=brainglobe_utils --cov-report=xml +passenv = + CI + GITHUB_ACTIONS + DISPLAY + XAUTHORITY + PYVISTA_OFF_SCREEN +""" diff --git a/tox.ini b/tox.ini deleted file mode 100644 index 3857869..0000000 --- a/tox.ini +++ /dev/null @@ -1,21 +0,0 @@ -[tox] -envlist = py{39,310,311} -isolated_build = True - -[gh-actions] -python = - 3.9: py39 - 3.10: py310 - 3.11: py311 - -[testenv] -extras = - dev -commands = - pytest -v --color=yes --cov=brainglobe_utils --cov-report=xml -passenv = - CI - GITHUB_ACTIONS - DISPLAY - XAUTHORITY - PYVISTA_OFF_SCREEN