8000 gh-104504: Run mypy on cases_generator in CI (and blacken the code) by corona10 · Pull Request #108090 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

gh-104504: Run mypy on cases_generator in CI (and blacken the code) #108090

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 17 commits into from
Aug 18, 2023
Merged
Prev Previous commit
Next Next commit
Move lint
  • Loading branch information
corona10 committed Aug 18, 2023
commit 42ed5023fb937501039efb34c3af31654e57ca08
2 changes: 2 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,5 @@ jobs:
with:
python-version: "3.x"
- uses: pre-commit/action@v3.0.0
- run: pip install black
- run: black Tools/cases_generator
2 changes: 0 additions & 2 deletions .github/workflows/mypy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,4 @@ jobs:
cache: pip
cache-dependency-path: Tools/requirements-dev.txt
- run: pip install -r Tools/requirements-dev.txt
- name: Lint with black
run: black Tools/cases_generator
- run: mypy --config-file Tools/cases_generator/mypy.ini
1 change: 0 additions & 1 deletion Tools/requirements-dev.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# Requirements file for external linters and checks we run on
# Tools/clinic and Tools/cases_generator/ in CI
mypy==1.5.1
black
0