File tree Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Original file line number Diff line number Diff line change 34
34
rev : v0.812
35
35
hooks :
36
36
- id : mypy
37
- exclude : " properties|asv_bench"
38
37
# run this occasionally, ref discussion https://github.com/pydata/xarray/pull/3194
39
38
# - repo: https://github.com/asottile/pyupgrade
40
39
# rev: v1.22.1
Original file line number Diff line number Diff line change @@ -162,6 +162,8 @@ default_section = THIRDPARTY
162
162
known_first_party = xarray
163
163
164
164
[mypy]
165
+ exclude = properties|asv_bench|doc
166
+ files = xarray/**/*.py
165
167
show_error_codes = True
166
168
167
169
# Most of the numerical computing stack doesn't have type annotations yet.
@@ -237,7 +239,11 @@ ignore_missing_imports = True
237
239
# be going away soon anyways)
238
240
[mypy-xarray.core.pycompat]
239
241
ignore_errors = True
240
-
242
+ # These also contain non-xarray code.
243
+ [mypy-properties.*]
244
+ ignore_errors = True
245
+ [mypy-asv_bench.*]
246
+ ignore_errors = True
241
247
242
248
[aliases]
243
249
test = pytest
You can’t perform that action at this time.
0 commit comments