mirror of
https://github.com/jupyter/docker-stacks.git
synced 2025-10-09 02:54:05 +00:00
Update mypy pre-commit hook and use latest python
This commit is contained in:
2
.github/workflows/pre-commit.yml
vendored
2
.github/workflows/pre-commit.yml
vendored
@@ -22,7 +22,7 @@ jobs:
|
|||||||
- name: Set Up Python 🐍
|
- name: Set Up Python 🐍
|
||||||
uses: actions/setup-python@v4
|
uses: actions/setup-python@v4
|
||||||
with:
|
with:
|
||||||
python-version: 3.10.6
|
python-version: 3.x
|
||||||
|
|
||||||
- name: Install pre-commit 📦
|
- name: Install pre-commit 📦
|
||||||
run: |
|
run: |
|
||||||
|
@@ -35,7 +35,7 @@ repos:
|
|||||||
|
|
||||||
# Check python code static typing
|
# Check python code static typing
|
||||||
- repo: https://github.com/pre-commit/mirrors-mypy
|
- repo: https://github.com/pre-commit/mirrors-mypy
|
||||||
rev: v0.971
|
rev: v0.981
|
||||||
hooks:
|
hooks:
|
||||||
- id: mypy
|
- id: mypy
|
||||||
args: [--config, ./mypy.ini]
|
args: [--config, ./mypy.ini]
|
||||||
|
Reference in New Issue
Block a user