Skip to content

Commit

Permalink
First attempt at tomlifying tox (#173)
Browse files Browse the repository at this point in the history
Following tox-dev/tox#3353 there is now full
native TOML support for `tox`
  • Loading branch information
paddyroddy authored Oct 1, 2024
1 parent 91b6838 commit b6f3b8b
Showing 1 changed file with 16 additions and 9 deletions.
25 changes: 16 additions & 9 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,17 @@ overrides."tool.coverage.paths.source".inline_arrays = false
overrides."tool.ruff.lint.isort.section-order".inline_arrays = false

[tool.tox]
env_list = [
"py310-linux",
"py310-macos",
"py310-windows",
"py311-linux",
"py311-macos",
"py311-windows",
"py312-linux",
"py312-macos",
"py312-windows",
]
legacy_tox_ini = """
[gh-actions]
python =
Expand All @@ -152,13 +163,9 @@ legacy_tox_ini = """
ubuntu-latest: linux
macos-latest: macos
windows-latest: windows
[testenv]
commands =
pytest --cov --cov-report=lcov
deps =
pytest-cov
[tox]
env_list = py{310,311,312}-{linux,macos,windows}
"""
env.testenv = {commands = [
"pytest --cov --cov-report=lcov",
], deps = [
"pytest-cov",
]}

0 comments on commit b6f3b8b

Please sign in to comment.