Skip to content

Commit 524ddf9

Browse files
authored
DEV: Add mypy to pre-commit (#2001)
1 parent 965b98e commit 524ddf9

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.pre-commit-config.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,3 +47,10 @@ repos:
4747
hooks:
4848
- id: flake8
4949
args: ["--ignore", "E,W,F"]
50+
51+
- repo: https://github.com/pre-commit/mirrors-mypy
52+
rev: 'v1.4.1'
53+
hooks:
54+
- id: mypy
55+
files: ^pypdf/.*
56+
args: [--ignore-missing-imports]

0 commit comments

Comments
 (0)