File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 66 - id : trailing-whitespace
77 - id : no-commit-to-branch
88- repo : https://github.com/astral-sh/ruff-pre-commit
9- rev : v0.15.6
9+ rev : v0.15.7
1010 hooks :
1111 - id : ruff-check
1212 args : [--fix, --exit-non-zero-on-fix]
1313 - id : ruff-check
1414 args : [--preview, --select=CPY]
1515 - id : ruff-format
1616- repo : https://github.com/tox-dev/pyproject-fmt
17- rev : v2.18.1
17+ rev : v2.20.0
1818 hooks :
1919 - id : pyproject-fmt
2020- repo : https://github.com/biomejs/pre-commit
21- rev : v2.4.7
21+ rev : v2.4.8
2222 hooks :
2323 - id : biome-format
2424- repo : https://github.com/pre-commit/mirrors-mypy
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