Skip to content

Commit

Permalink
Use env_run_base from TOML support
Browse files Browse the repository at this point in the history
  • Loading branch information
paddyroddy committed Oct 8, 2024
1 parent b67f79f commit 25884c4
Showing 1 changed file with 16 additions and 12 deletions.
28 changes: 16 additions & 12 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -205,21 +205,25 @@ 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]
env_list = [
"py311",
"py312",
]
legacy_tox_ini = """
[gh]
python =
3.11: py311
3.12: py312
[testenv]
commands =
pytest --cov --cov-report=lcov
deps =
pytest-cov
"""
env_run_base = {commands = [
[
"pytest",
"--cov",
"--cov-report=lcov",
],
], deps = [
"pytest-cov",
]}
# legacy_tox_ini = """
# [gh]
# python =
# 3.11: py311
# 3.12: py312
# """

0 comments on commit 25884c4

Please sign in to comment.