@@ -25,13 +25,13 @@ classifiers = [
2525dependencies = [
2626 " click (>=8.1.7,<9.0.0)" ,
2727 " click-params (>=0.5.0,<0.6.0)" ,
28- " zarr (>=3.0.6,<4.0.0)" ,
2928 " dask (>=2024.12.0)" ,
30- " tqdm (>=4.67.0,<5.0.0)" ,
31- " psutil (>=6.1.0,<7.0.0)" ,
3229 " fsspec (>=2024.10.0)" ,
33- " segy (>=0.4 .0,<0.5 .0)" ,
30+ " psutil (>=6.1 .0,<7.0 .0)" ,
3431 " 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)" ,
3535]
3636
3737[project .optional-dependencies ]
@@ -105,6 +105,7 @@ relative_files = true
105105show_missing = true
106106fail_under = 90
107107exclude_also = [
108+ " if __name__ == __main__:" ,
108109 " if TYPE_CHECKING:" ,
109110 " raise NotImplementedError" ,
110111]
@@ -117,10 +118,14 @@ lines_after_imports = 2
117118[tool .mypy ]
118119strict = true
119120warn_unreachable = true
121+ warn_redundant_casts = true
122+ warn_unused_ignores = true
120123pretty = true
121124show_column_numbers = true
122125show_error_codes = true
123126show_error_context = true
127+ disallow_untyped_defs = true # for strict mypy: (this is the tricky one)
128+ plugins = [" numpy.typing.mypy_plugin" ]
124129
125130[[tool .mypy .overrides ]]
126131module = [" zarr" ]
0 commit comments