Skip to content

Commit 14406ac

Browse files
committed
Remove mypy from pre-commit config and add it as dependency
1 parent 766b2ee commit 14406ac

File tree

4 files changed

+553
-496
lines changed

4 files changed

+553
-496
lines changed

.github/workflows/tests.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,10 @@ jobs:
6565
run: timeout 10s poetry run pip --version || rm -rf .venv
6666

6767
- name: Install dependencies
68-
run: poetry install --only main --only test -vvv
68+
run: poetry install --only main --only test --only typing -vvv
69+
70+
- name: Run type checking
71+
run: poetry run mypy
6972

7073
- name: Test Pure Python
7174
run: |

.pre-commit-config.yaml

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -58,14 +58,3 @@ repos:
5858
exclude: ^build\.py$
5959
args:
6060
- --py37-plus
61-
62-
- repo: https://github.com/pre-commit/mirrors-mypy
63-
rev: v0.991
64-
hooks:
65-
- id: mypy
66-
pass_filenames: false
67-
exclude: ^build\.py$
68-
additional_dependencies:
69-
- pytest>=7.1.2
70-
- types-backports
71-
- types-python-dateutil

0 commit comments

Comments
 (0)