Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit62c024e

Browse files
committed
Let tox run lint, mypy, and html envs without 3.9
The tox environments that are not duplicated per Python versionwere set to run on Python 3.9, for consistency with Cygwin, where3.9 is the latest available (through official Cygwin packages), sooutput can be compared between Cygwin and other platforms whiletroubleshooting problems.However, this prevented them from running altogether on systemswhere Python 3.9 was not installed. So I've added all the otherPython versions the project supports as fallback versions for thosetox environments to use, in one of the reasonable precedenceorders, while keeping 3.9 as the first choice for the same reasonsas before.
1 parente16e4c0 commit62c024e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

‎tox.ini

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,20 +11,20 @@ commands = pytest --color=yes {posargs}
1111

1212
[testenv:lint]
1313
description = Lint via pre-commit
14-
base_python =py39
14+
base_python =py{39,310,311,312,38,37}
1515
set_env =
1616
SKIP = black-format
1717
commands = pre-commit run --all-files --hook-stage manual
1818

1919
[testenv:mypy]
2020
description = Typecheck with mypy
21-
base_python =py39
21+
base_python =py{39,310,311,312,38,37}
2222
commands = mypy -p git
2323
ignore_outcome = true
2424

2525
[testenv:html]
2626
description = Build HTML documentation
27-
base_python =py39
27+
base_python =py{39,310,311,312,38,37}
2828
deps = -r doc/requirements.txt
2929
allowlist_externals = make
3030
commands =

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp