diff --git a/pyproject.toml b/pyproject.toml index 5b64fd6..30bacbb 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -63,3 +63,10 @@ ignore = ["E501", "E701", "E741", "UP031"] [tool.ruff.lint.per-file-ignores] "unittest2pytest/fixes/fix_remove_class.py" = ["W291"] "unittest2pytest/fixes/fix_self_assert.py" = ["F841"] + +[tool.tox] +env_list = ["py39", "py310", "py311", "py312", "py313", "py314", "py315"] + +[tool.tox.env_run_base] +deps = ["pytest"] +commands = [["pytest", "{posargs}"]] diff --git a/tox.ini b/tox.ini deleted file mode 100644 index 78c9144..0000000 --- a/tox.ini +++ /dev/null @@ -1,12 +0,0 @@ -# Tox (https://tox.readthedocs.io) is a tool for running tests -# in multiple virtualenvs. This configuration file will run the -# test suite on all supported python versions. To use it, "pip install tox" -# and then run "tox" from this directory. - -[tox] -envlist = py39, py310, py311, py312, py313, py314, py315 - -[testenv] -deps = - pytest -commands = pytest {posargs}