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

Commit27bf23c

Browse files
authored
Merge pull request#2040 from EliahKagan/mypy-free-threaded
Fix CI `mypy` command on free-threaded Python
2 parents5b098ff +b45ae86 commit27bf23c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

‎.github/workflows/pythonpackage.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,10 +97,11 @@ jobs:
9797

9898
-name:Check types with mypy
9999
run:|
100-
mypy --python-version=${{ matrix.python-version }}
100+
mypy --python-version="${PYTHON_VERSION%t}" # Version only, with no "t" for free-threaded.
101101
env:
102102
MYPY_FORCE_COLOR:"1"
103103
TERM:"xterm-256color"# For color: https://github.com/python/mypy/issues/13817
104+
PYTHON_VERSION:${{ matrix.python-version }}
104105
# With new versions of mypy new issues might arise. This is a problem if there is
105106
# nobody able to fix them, so we have to ignore errors until that changes.
106107
continue-on-error:true

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp