10000 [3.12] Sync location of `mypy` pin with the `main` branch by art3xa · Pull Request #111317 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

[3.12] Sync location of mypy pin with the main branch #111317

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Oct 25, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fix mypy.yml after move requirements-dev.txt
  • Loading branch information
Artyom Romanov committed Oct 25, 2023
commit 46af31c8a91a892318127c547fa11576057a441b
18 changes: 13 additions & 5 deletions .github/workflows/mypy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,10 @@ on:
- main
pull_request:
paths:
- "Tools/clinic/**"
- ".github/workflows/mypy.yml"
- "Tools/clinic/**"
- "Tools/peg_generator/**"
- "Tools/requirements-dev.txt"
workflow_dispatch:

permissions:
Expand All @@ -25,7 +27,13 @@ concurrency:

jobs:
mypy:
name: Run mypy on Tools/clinic/
strategy:
matrix:
target: [
"Tools/clinic",
"Tools/peg_generator",
]
name: Run mypy on ${{ matrix.target }}
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
Expand All @@ -34,6 +42,6 @@ jobs:
with:
python-version: "3.x"
cache: pip
cache-dependency-path: Tools/clinic/requirements-dev.txt
- run: pip install -r Tools/clinic/requirements-dev.txt
- run: mypy --config-file Tools/clinic/mypy.ini
cache-dependency-path: Tools/requirements-dev.txt
- run: pip install -r Tools/requirements-dev.txt
- run: mypy --config-file ${{ matrix.target }}/mypy.ini
0