Skip to content

Commit c1428e4

Browse files
committed
pyproject.toml: Move the [tool.tox] section to the end of the file.
1 parent 4d3efde commit c1428e4

File tree

1 file changed

+21
-21
lines changed

1 file changed

+21
-21
lines changed

pyproject.toml

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -60,27 +60,6 @@ dev-dependencies = [
6060
"hatch-vcs>=0.3.0", # For building and updating _version.py
6161
]
6262

63-
# https://tox.wiki/en/latest/config.html#pyproject-toml-native
64-
[tool.tox] #
65-
env_list = [
66-
"clean", "mypy", "lint", "format",
67-
"3.9", "3.10", "3.11", "3.12", "3.13"
68-
]
69-
requires = ["tox>=4.19", "tox-uv>=1.13"]
70-
env.clean.commands = [["coverage", "erase"]] # Cleanup coverage data
71-
env.clean.deps = ["coverage"]
72-
env.clean.skip_install = true
73-
env.mypy.commands = [["mypy"]]
74-
env.mypy.deps = ["mypy", "pytest", "types-requests", "types-pyserial"]
75-
env.lint.commands = [["ruff", "check"]]
76-
env.lint.deps = ["ruff"]
77-
env.format.commands = [["ruff", "format", "--check"]]
78-
env.format.deps = ["ruff"]
79-
env_run_base.commands = [["pytest", {replace = "posargs", extend = true}]]
80-
env_run_base.deps = ["pytest", "pytest-cov", "requests", "pyyaml"]
81-
env_run_base.package = "editable"
82-
env_run_base.runner = "uv-venv-runner"
83-
8463
[tool.mypy]
8564
files = ["src"]
8665
python_version = "3.9"
@@ -103,3 +82,24 @@ run.source = ["src"]
10382
run.omit = ["_version.py"]
10483
report.skip_covered = false
10584
append = true
85+
86+
# https://tox.wiki/en/latest/config.html#pyproject-toml-native
87+
[tool.tox] #
88+
env_list = [
89+
"clean", "mypy", "lint", "format",
90+
"3.9", "3.10", "3.11", "3.12", "3.13"
91+
]
92+
requires = ["tox>=4.19", "tox-uv>=1.13"]
93+
env.clean.commands = [["coverage", "erase"]] # Cleanup coverage data
94+
env.clean.deps = ["coverage"]
95+
env.clean.skip_install = true
96+
env.mypy.commands = [["mypy"]]
97+
env.mypy.deps = ["mypy", "pytest", "types-requests", "types-pyserial"]
98+
env.lint.commands = [["ruff", "check"]]
99+
env.lint.deps = ["ruff"]
100+
env.format.commands = [["ruff", "format", "--check"]]
101+
env.format.deps = ["ruff"]
102+
env_run_base.commands = [["pytest", {replace = "posargs", extend = true}]]
103+
env_run_base.deps = ["pytest", "pytest-cov", "requests", "pyyaml"]
104+
env_run_base.package = "editable"
105+
env_run_base.runner = "uv-venv-runner"

0 commit comments

Comments
 (0)