Skip to content

Commit 05b9aa3

Browse files
add exception for pypdfium2 to mypy
1 parent e04f664 commit 05b9aa3

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,4 +44,4 @@ repos:
4444
- types-pytz
4545
- types-requests
4646
- types-setuptools
47-
- importlib-metadata
47+
- importlib-metadata

pyproject.toml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,10 @@ strict_equality = true
2222
warn_unused_ignores = true
2323
warn_unreachable = true
2424

25+
[[tool.mypy.overrides]]
26+
module = "pypdfium2.*"
27+
ignore_missing_imports = true
28+
2529
[tool.pylic]
2630
safe_licenses = [
2731
"Apache Software License",

0 commit comments

Comments
 (0)