@@ -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 ]
8564files = [" src" ]
8665python_version = " 3.9"
@@ -103,3 +82,24 @@ run.source = ["src"]
10382run.omit = [" _version.py" ]
10483report.skip_covered = false
10584append = 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