From 3648e411070da5e4347bc9db3c70d8313aad30ff Mon Sep 17 00:00:00 2001 From: Thomas Grainger Date: Mon, 6 Apr 2026 16:11:19 +0000 Subject: [PATCH] Move tox config from tox.ini to pyproject.toml --- pyproject.toml | 7 +++++++ tox.ini | 12 ------------ 2 files changed, 7 insertions(+), 12 deletions(-) delete mode 100644 tox.ini 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}