File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -33,17 +33,18 @@ repos:
33
33
rev : v0.910-1
34
34
hooks :
35
35
- id : mypy
36
- # Copied from setup.cfg
37
- exclude : " properties|asv_bench"
36
+ # `properies` & `asv_bench` are copied from setup.cfg.
37
+ # `_typed_ops.py` is added since otherwise mypy will complain (but notably only in pre-commit)
38
+ exclude : " properties|asv_bench|_typed_ops.py"
38
39
additional_dependencies : [
39
40
# Type stubs
40
41
types-python-dateutil,
41
42
types-pkg_resources,
42
43
types-PyYAML,
43
44
types-pytz,
45
+ typing-extensions==3.10.0.0,
44
46
# Dependencies that are typed
45
47
numpy,
46
- typing-extensions==3.10.0.0,
47
48
]
48
49
# run this occasionally, ref discussion https://github.com/pydata/xarray/pull/3194
49
50
# - repo: https://github.com/asottile/pyupgrade
You can’t perform that action at this time.
0 commit comments