@@ -84,7 +84,7 @@ envs.hatch-test.overrides.matrix.resolution.dependencies = [
8484 { if = [ " lowest" ], value = " scipy==1.13.0" },
8585]
8686envs.hatch-test.matrix = [
87- { python = [ " 3.13 " , " 3.12" ], extras = [ " full" , " min" ] },
87+ { python = [ " 3.14 " , " 3.12" ], extras = [ " full" , " min" ] },
8888 { python = [ " 3.12" ], extras = [ " full" ], resolution = [ " lowest" ] },
8989]
9090metadata.hooks.docstring-description = {}
@@ -139,6 +139,20 @@ lint.isort.lines-after-imports = 2
139139lint.pydocstyle.convention = " numpy"
140140lint.future-annotations = true
141141
142+ [tool .mypy ]
143+ strict = true
144+ # https://github.com/dask/dask/issues/8853
145+ implicit_reexport = true
146+ explicit_package_bases = true
147+ mypy_path = [ " $MYPY_CONFIG_FILE_DIR/typings" , " $MYPY_CONFIG_FILE_DIR/src" ]
148+
149+ [tool .pyright ]
150+ stubPath = " ./typings"
151+ reportPrivateUsage = false
152+
153+ [tool .ty ]
154+ environment.extra-paths = [ " ./typings" ]
155+
142156[tool .pytest ]
143157strict = true
144158addopts = [
@@ -151,38 +165,18 @@ testpaths = [ "./tests", "fast_array_utils" ]
151165doctest_subpackage_requires = [
152166 " src/fast_array_utils/conv/scipy/* = scipy" ,
153167 " src/fast_array_utils/conv/scipy/_to_dense.py = numba" ,
168+ " src/fast_array_utils/numba/* = numba" ,
154169 " src/fast_array_utils/stats/* = numba" ,
155170 " src/fast_array_utils/_plugins/dask.py = dask" ,
156171 " src/fast_array_utils/_plugins/numba_sparse.py = numba;scipy" ,
157172]
158- filterwarnings = [
159- " error" ,
160- # codspeed seems to break this dtype added by h5py
161- " ignore:.*numpy[.]longdouble:UserWarning" ,
162- " ignore:FNV hashing is not implemented in Numba:UserWarning" ,
163- ]
164173markers = [
165174 " benchmark: marks tests as benchmark (to run with `--codspeed`)" ,
166175]
167176
168177[tool .coverage ]
169178run.data_file = " test-data/.coverage"
170179run.omit = [ " src/testing/*" , " tests/*" ]
171- report.exclude_also = [ " @numba[.]njit" , " [.]{3}" , " if TYPE_CHECKING:" ]
180+ report.exclude_also = [ " @( numba[.])? njit" , " [.]{3}" , " if TYPE_CHECKING:" ]
172181html.directory = " test-data/htmlcov"
173182xml.output = " test-data/coverage.xml"
174-
175- [tool .mypy ]
176- strict = true
177- # https://github.com/dask/dask/issues/8853
178- implicit_reexport = true
179- explicit_package_bases = true
180- mypy_path = [ " $MYPY_CONFIG_FILE_DIR/typings" , " $MYPY_CONFIG_FILE_DIR/src" ]
181-
182- [[tool .mypy .overrides ]]
183- module = [ " jax" , " jax.*" ]
184- ignore_missing_imports = true
185-
186- [tool .pyright ]
187- stubPath = " ./typings"
188- reportPrivateUsage = false
0 commit comments