File tree Expand file tree Collapse file tree 2 files changed +8
-4
lines changed Expand file tree Collapse file tree 2 files changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -13,11 +13,15 @@ repos:
13
13
- id : ruff-check
14
14
args : [--fix] # optional, to autofix lint errors
15
15
- id : ruff-format
16
- - repo : https://github.com/RobertCraigie/pyright-python
16
+ # - repo: https://github.com/RobertCraigie/pyright-python
17
+ # rev: v1.1.403
18
+ # hooks:
19
+ # - id: pyright
20
+ # name: "python · Check types"
21
+ - repo : https://github.com/fsouza/mirrors-pyright
17
22
rev : v1.1.403
18
23
hooks :
19
24
- id : pyright
20
- name : " python · Check types"
21
25
- repo : https://github.com/abravalheri/validate-pyproject
22
26
rev : v0.24.1
23
27
hooks :
Original file line number Diff line number Diff line change 59
59
TDType = TypeVar ("TDType" , covariant = True )
60
60
THashable = TypeVar ("THashable" , bound = Hashable )
61
61
62
- AnyArray : TypeAlias = np .ndarray
63
- AnyDType : TypeAlias = np .dtype
62
+ AnyArray : TypeAlias = np .ndarray [ Any , Any ]
63
+ AnyDType : TypeAlias = np .dtype [ Any ]
64
64
AnyField : TypeAlias = Field [Any ]
65
65
AnyXarray : TypeAlias = Union [xr .DataArray , xr .Dataset ]
66
66
Dims = Tuple [str , ...]
You can’t perform that action at this time.
0 commit comments