Skip to content

Commit 0c63662

Browse files
committed
Move mypy configs from pre-commit to mypy config
1 parent 3cbd21a commit 0c63662

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

.pre-commit-config.yaml

-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@ repos:
3434
rev: v0.812
3535
hooks:
3636
- id: mypy
37-
exclude: "properties|asv_bench"
3837
# run this occasionally, ref discussion https://github.com/pydata/xarray/pull/3194
3938
# - repo: https://github.com/asottile/pyupgrade
4039
# rev: v1.22.1

setup.cfg

+5-1
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,11 @@ ignore_missing_imports = True
237237
# be going away soon anyways)
238238
[mypy-xarray.core.pycompat]
239239
ignore_errors = True
240-
240+
# These also contain non-xarray code.
241+
[mypy-properties.*]
242+
ignore_errors = True
243+
[mypy-asv_bench.*]
244+
ignore_errors = True
241245

242246
[aliases]
243247
test = pytest

0 commit comments

Comments
 (0)