Skip to content

Commit

Permalink
Use native TOML syntax for tox (#421)
Browse files Browse the repository at this point in the history
Fixes #419
  • Loading branch information
paddyroddy authored Oct 11, 2024
1 parent 051e8b3 commit df53d6b
Showing 1 changed file with 19 additions and 15 deletions.
34 changes: 19 additions & 15 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -204,20 +204,24 @@ write_to = "src/sleplet/_version.py"
overrides."project.classifiers".inline_arrays = false
overrides."tool.coverage.paths.source".inline_arrays = false
overrides."tool.ruff.lint.isort.section-order".inline_arrays = false
overrides."tool.tox.env_run_base.commands".inline_arrays = false

[tool.tox]
legacy_tox_ini = """
[gh]
python =
3.11: py311
3.12: py312
[testenv]
commands =
pytest --cov --cov-report=lcov
deps =
pytest-cov
[tox]
env_list = py{311,312}
"""
env_list = [
"py311",
"py312",
]
env_run_base = {commands = [
[
"pytest",
"--cov",
"--cov-report=lcov",
],
], deps = [
"pytest-cov",
]}
gh.python = {"3.11" = [
"py311",
], "3.12" = [
"py312",
]}

0 comments on commit df53d6b

Please sign in to comment.