File tree Expand file tree Collapse file tree 1 file changed +17
-3
lines changed
Expand file tree Collapse file tree 1 file changed +17
-3
lines changed Original file line number Diff line number Diff line change 11[tox]
2- envlist = py , lint, fmt
2+ envlist = fmt , lint, unit
33minversion = 4.4
44
55[testenv]
@@ -11,18 +11,26 @@ wheel_build_env = pkg
1111deps =
1212 pytest
1313commands =
14- pytest {posargs:tests}
14+ unit: {basepython} -m pytest {posargs:tests}
15+
16+ [testenv:py3]
17+ basepython = python3.11
18+
19+ [testenv:unit]
20+ basepython = {[testenv:py3]basepython}
1521
1622[testenv:lint]
23+ basepython = {[testenv:py3]basepython}
1724description = lint with pylint
1825deps =
1926 pytest
2027 pylint>=2.16.2,<4.0
2128 pylint-pydantic
2229commands =
23- {envpython } -m pylint --load-plugins pylint_pydantic fms_mo/ tests/
30+ {basepython } -m pylint --load-plugins pylint_pydantic fms_mo/ tests/
2431
2532[testenv:fmt]
33+ basepython = {[testenv:py3]basepython}
2634description = format with pre-commit
2735deps =
2836 pre-commit
@@ -43,3 +51,9 @@ commands =
4351 coverage report -m
4452 coverage xml
4553 genbadge coverage -s -i coverage.xml
54+
55+ [gh]
56+ python =
57+ 3.11 = 3.11
58+ 3.10 = 3.10
59+ 3.9 = 3.9
You can’t perform that action at this time.
0 commit comments