https://github.com/python/cpython/commit/6304eb1f5b93f682bff558befe4a7b9585f4601e
commit: 6304eb1f5b93f682bff558befe4a7b9585f4601e
branch: main
author: Hugo van Kemenade <[email protected]>
committer: hugovk <[email protected]>
date: 2026-05-13T14:03:33+03:00
summary:
Run mypy with four worker processes and uv (#149726)
files:
M .github/workflows/mypy.yml
diff --git a/.github/workflows/mypy.yml b/.github/workflows/mypy.yml
index 490c32ecfc9a62..d748b6ff63e68a 100644
--- a/.github/workflows/mypy.yml
+++ b/.github/workflows/mypy.yml
@@ -69,12 +69,11 @@ jobs:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd #
v6.0.2
with:
persist-credentials: false
- - uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 #
v6.2.0
+ - uses: astral-sh/setup-uv@08807647e7069bb48b6ef5acd8ec9567f424441b #
v8.1.0
with:
python-version: "3.15"
- allow-prereleases: true
- cache: pip
- cache-dependency-path: Tools/requirements-dev.txt
- - run: pip install -r Tools/requirements-dev.txt
+ activate-environment: true
+ cache-dependency-glob: Tools/requirements-dev.txt
+ - run: uv pip install -r Tools/requirements-dev.txt
- run: python3 Misc/mypy/make_symlinks.py --symlink
- - run: mypy --config-file ${{ matrix.target }}/mypy.ini
+ - run: mypy --num-workers 4 --config-file ${{ matrix.target }}/mypy.ini
_______________________________________________
Python-checkins mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3//lists/python-checkins.python.org
Member address: [email protected]