File tree Expand file tree Collapse file tree 4 files changed +5
-2
lines changed Expand file tree Collapse file tree 4 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -181,7 +181,7 @@ jobs:
181181 python xarray/util/print_versions.py
182182 - name : Run mypy
183183 run : |
184- python -m mypy xarray
184+ python -m mypy .
185185
186186 min-version-policy :
187187 name : Minimum Version Policy
Original file line number Diff line number Diff line change 3434 rev : v0.812
3535 hooks :
3636 - id : mypy
37+ # Copied from setup.cfg
3738 exclude : " properties|asv_bench"
3839 # run this occasionally, ref discussion https://github.com/pydata/xarray/pull/3194
3940 # - repo: https://github.com/asottile/pyupgrade
Original file line number Diff line number Diff line change 11# used for the "Type checking (mypy)" CI run
22# version must correspond to the one in .pre-commit-config.yaml
3+ # See https://github.com/pydata/xarray/issues/4881 for more details.
34mypy=0.812
Original file line number Diff line number Diff line change @@ -162,6 +162,8 @@ default_section = THIRDPARTY
162162known_first_party = xarray
163163
164164[mypy]
165+ exclude = properties|asv_bench|doc
166+ files = xarray/**/*.py
165167show_error_codes = True
166168
167169# Most of the numerical computing stack doesn't have type annotations yet.
@@ -238,7 +240,6 @@ ignore_missing_imports = True
238240[mypy-xarray.core.pycompat]
239241ignore_errors = True
240242
241-
242243[aliases]
243244test = pytest
244245
You can’t perform that action at this time.
0 commit comments