We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8718877 commit dd94e0dCopy full SHA for dd94e0d
.pre-commit-config.yaml
@@ -20,11 +20,11 @@ repos:
20
rev: v0.730
21
hooks:
22
- id: mypy
23
- # We run mypy over all files because of:
24
- # * changes in type definitions may affect non-touched files.
25
- # * Running it with `mypy pandas` and the filenames will lead to
26
- # spurious duplicate module errors,
27
- # see also https://github.com/pre-commit/mirrors-mypy/issues/5
28
- pass_filenames: false
29
args:
30
- - pandas
+ # As long as a some files are excluded from check-untyped-defs
+ # we have to exclude it from the pre-commit hook as the configuration
+ # is based on modules but the hook runs on files.
+ - --no-check-untyped-defs
+ - --follow-imports
+ - skip
+ files: pandas/
0 commit comments