Skip to content

Commit 597a98f

Browse files
ci: pre-commit autoupdate (#160)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
1 parent 395b37e commit 597a98f

2 files changed

Lines changed: 14 additions & 14 deletions

File tree

.pre-commit-config.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,19 +6,19 @@ repos:
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

pyproject.toml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,17 @@ lint.isort.lines-after-imports = 2
137137
lint.pydocstyle.convention = "numpy"
138138
lint.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]
141152
strict = true
142153
addopts = [
@@ -169,14 +180,3 @@ run.omit = [ "src/testing/*", "tests/*" ]
169180
report.exclude_also = [ "@numba[.]njit", "[.]{3}", "if TYPE_CHECKING:" ]
170181
html.directory = "test-data/htmlcov"
171182
xml.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

0 commit comments

Comments
 (0)