Skip to content

Commit 4b529d1

Browse files
authored
Revert "First attempt at tomlifying tox" (#176)
Reverts #173
1 parent e62abed commit 4b529d1

File tree

1 file changed

+9
-16
lines changed

1 file changed

+9
-16
lines changed

pyproject.toml

Lines changed: 9 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -140,17 +140,6 @@ overrides."tool.coverage.paths.source".inline_arrays = false
140140
overrides."tool.ruff.lint.isort.section-order".inline_arrays = false
141141

142142
[tool.tox]
143-
env_list = [
144-
"py310-linux",
145-
"py310-macos",
146-
"py310-windows",
147-
"py311-linux",
148-
"py311-macos",
149-
"py311-windows",
150-
"py312-linux",
151-
"py312-macos",
152-
"py312-windows",
153-
]
154143
legacy_tox_ini = """
155144
[gh-actions]
156145
python =
@@ -163,9 +152,13 @@ legacy_tox_ini = """
163152
ubuntu-latest: linux
164153
macos-latest: macos
165154
windows-latest: windows
155+
156+
[testenv]
157+
commands =
158+
pytest --cov --cov-report=lcov
159+
deps =
160+
pytest-cov
161+
162+
[tox]
163+
env_list = py{310,311,312}-{linux,macos,windows}
166164
"""
167-
env.testenv = {commands = [
168-
"pytest --cov --cov-report=lcov",
169-
], deps = [
170-
"pytest-cov",
171-
]}

0 commit comments

Comments
 (0)