Skip to content

Commit d3ed003

Browse files
committed
mypy warn unused ignores
1 parent 80399aa commit d3ed003

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ repos:
1919
rev: v0.910
2020
hooks:
2121
- id: mypy
22-
args: []
22+
args: ["--ignore-missing-imports", "openapi_core"]
2323
additional_dependencies: [types-requests==2.25.6]
2424

2525
- repo: local

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ output = "reports/coverage.xml"
1111

1212
[tool.mypy]
1313
files = "openapi_core"
14+
warn_unused_ignores = true
1415

1516
[[tool.mypy.overrides]]
1617
module = [

0 commit comments

Comments
 (0)