File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -137,6 +137,17 @@ lint.isort.lines-after-imports = 2
137137lint.pydocstyle.convention = " numpy"
138138lint.future-annotations = true
139139
140+ [tool .mypy ]
141+ strict = true
142+ # https://github.com/dask/dask/issues/8853
143+ implicit_reexport = true
144+ explicit_package_bases = true
145+ mypy_path = [ " $MYPY_CONFIG_FILE_DIR/typings" , " $MYPY_CONFIG_FILE_DIR/src" ]
146+
147+ [tool .pyright ]
148+ stubPath = " ./typings"
149+ reportPrivateUsage = false
150+
140151[tool .pytest ]
141152strict = true
142153addopts = [
@@ -169,14 +180,3 @@ run.omit = [ "src/testing/*", "tests/*" ]
169180report.exclude_also = [ " @numba[.]njit" , " [.]{3}" , " if TYPE_CHECKING:" ]
170181html.directory = " test-data/htmlcov"
171182xml.output = " test-data/coverage.xml"
172-
173- [tool .mypy ]
174- strict = true
175- # https://github.com/dask/dask/issues/8853
176- implicit_reexport = true
177- explicit_package_bases = true
178- mypy_path = [ " $MYPY_CONFIG_FILE_DIR/typings" , " $MYPY_CONFIG_FILE_DIR/src" ]
179-
180- [tool .pyright ]
181- stubPath = " ./typings"
182- reportPrivateUsage = false
You can’t perform that action at this time.
0 commit comments