@@ -25,13 +25,13 @@ classifiers = [
25
25
dependencies = [
26
26
" click (>=8.1.7,<9.0.0)" ,
27
27
" click-params (>=0.5.0,<0.6.0)" ,
28
- " zarr (>=3.0.6,<4.0.0)" ,
29
28
" dask (>=2024.12.0)" ,
30
- " tqdm (>=4.67.0,<5.0.0)" ,
31
- " psutil (>=6.1.0,<7.0.0)" ,
32
29
" fsspec (>=2024.10.0)" ,
33
- " segy (>=0.4 .0,<0.5 .0)" ,
30
+ " psutil (>=6.1 .0,<7.0 .0)" ,
34
31
" rich (>=13.9.4,<14.0.0)" ,
32
+ " segy (>=0.4.0,<0.5.0)" ,
33
+ " tqdm (>=4.67.0,<5.0.0)" ,
34
+ " zarr (>=3.0.6,<4.0.0)" ,
35
35
]
36
36
37
37
[project .optional-dependencies ]
@@ -105,6 +105,7 @@ relative_files = true
105
105
show_missing = true
106
106
fail_under = 90
107
107
exclude_also = [
108
+ " if __name__ == __main__:" ,
108
109
" if TYPE_CHECKING:" ,
109
110
" raise NotImplementedError" ,
110
111
]
@@ -117,10 +118,14 @@ lines_after_imports = 2
117
118
[tool .mypy ]
118
119
strict = true
119
120
warn_unreachable = true
121
+ warn_redundant_casts = true
122
+ warn_unused_ignores = true
120
123
pretty = true
121
124
show_column_numbers = true
122
125
show_error_codes = true
123
126
show_error_context = true
127
+ disallow_untyped_defs = true # for strict mypy: (this is the tricky one)
128
+ plugins = [" numpy.typing.mypy_plugin" ]
124
129
125
130
[[tool .mypy .overrides ]]
126
131
module = [" zarr" ]
0 commit comments