@@ -69,23 +69,13 @@ version.raw-options.git_describe_command = [
6969 " --match" , " v*.[0-9][0-9][0-9]" ,
7070]
7171
72- [tool .mypy ]
73- files = [" src" , " tests" ]
74- python_version = " 3.9"
75- mypy_path = " typings"
76- disallow_untyped_defs = true
77- warn_return_any = true
78- warn_unused_ignores = true
79-
80- [tool .ruff ]
81- exclude = [" _version.py" , " tests/data" ]
82- lint.extend-select = [" I" ] # Enable ruffs isort rules (for compat with vscode ruff)
83-
84- [tool .coverage ]
85- run.source = [" src" , " tests" ]
86- run.omit = [" _version.py" ]
87- report.skip_covered = false
88- append = true
72+ # For Github Actions workflow - see https://github.com/tox-dev/tox-gh
73+ [tool .tox .gh .python ]
74+ "3.13" = [" clean" , " typing" , " lint" , " format" , " 3.13" ]
75+ "3.12" = [" 3.12" ]
76+ "3.11" = [" 3.11" ]
77+ "3.10" = [" 3.10" ]
78+ "3.9" = [" 3.9" ]
8979
9080# https://tox.wiki/en/latest/config.html#pyproject-toml-native
9181[tool .tox ]
@@ -111,3 +101,21 @@ env_run_base.skip_install = true
111101# Overrides for the latest python version
112102env.3.13.commands = [[" pytest" , " --cov" , {replace = " posargs" , extend = true }]]
113103env.3.13.labels = [" cov" , " coverage" , " latest" ]
104+
105+ [tool .mypy ]
106+ files = [" src" , " tests" ]
107+ python_version = " 3.9"
108+ mypy_path = " typings"
109+ disallow_untyped_defs = true
110+ warn_return_any = true
111+ warn_unused_ignores = true
112+
113+ [tool .ruff ]
114+ exclude = [" _version.py" , " tests/data" ]
115+ lint.extend-select = [" I" ] # Enable ruffs isort rules (for compat with vscode ruff)
116+
117+ [tool .coverage ]
118+ run.source = [" src" , " tests" ]
119+ run.omit = [" _version.py" ]
120+ report.skip_covered = false
121+ append = true
0 commit comments