Skip to content

Commit ddf4bd3

Browse files
authored
Merge pull request #328 from scverse/pre-commit-ci-update-config
[pre-commit.ci] pre-commit autoupdate
2 parents dfa24cd + fc2f389 commit ddf4bd3

2 files changed

Lines changed: 9 additions & 9 deletions

File tree

.pre-commit-config.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,16 +7,16 @@ default_stages:
77
minimum_pre_commit_version: 2.16.0
88
repos:
99
- repo: https://github.com/biomejs/pre-commit
10-
rev: v2.4.15
10+
rev: v2.4.16
1111
hooks:
1212
- id: biome-format
1313
exclude: ^\.cruft\.json$ # inconsistent indentation with cruft - file never to be modified manually.
1414
- repo: https://github.com/tox-dev/pyproject-fmt
15-
rev: v2.21.2
15+
rev: v2.23.0
1616
hooks:
1717
- id: pyproject-fmt
1818
- repo: https://github.com/astral-sh/ruff-pre-commit
19-
rev: v0.15.14
19+
rev: v0.15.15
2020
hooks:
2121
- id: ruff-check
2222
types_or: [python, pyi, jupyter]

pyproject.toml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -84,11 +84,10 @@ full = [
8484
[tool.hatch]
8585
envs.default.installer = "uv"
8686
envs.default.dependency-groups = [ "dev" ]
87-
envs.docs.dependency-groups = [ "doc" ]
8887
envs.docs.scripts.build = "sphinx-build -M html docs docs/_build -W {args}"
89-
envs.docs.scripts.open = "python -m webbrowser -t docs/_build/html/index.html"
9088
envs.docs.scripts.clean = "git clean -fdX -- {args:docs}"
91-
envs.hatch-test.dependency-groups = [ "dev", "test" ]
89+
envs.docs.scripts.open = "python -m webbrowser -t docs/_build/html/index.html"
90+
envs.docs.dependency-groups = [ "doc" ]
9291
envs.hatch-test.matrix = [
9392
# Test the lowest and highest supported Python versions with normal deps
9493
{ deps = [ "stable" ], python = [ "3.11", "3.14" ] },
@@ -98,8 +97,9 @@ envs.hatch-test.matrix = [
9897
# If the matrix variable `deps` is set to "pre",
9998
# set the environment variable `UV_PRERELEASE` to "allow".
10099
envs.hatch-test.overrides.matrix.deps.env-vars = [
101-
{ key = "UV_PRERELEASE", value = "allow", if = [ "pre" ] },
100+
{ value = "allow", key = "UV_PRERELEASE", if = [ "pre" ] },
102101
]
102+
envs.hatch-test.dependency-groups = [ "dev", "test" ]
103103

104104
[tool.ruff]
105105
line-length = 120
@@ -140,11 +140,11 @@ lint.per-file-ignores."tests/*" = [ "D" ]
140140
lint.pydocstyle.convention = "numpy"
141141

142142
[tool.pytest]
143-
strict = true
144-
testpaths = [ "tests" ]
145143
addopts = [
146144
"--import-mode=importlib", # allow using test files with same name
147145
]
146+
strict = true
147+
testpaths = [ "tests" ]
148148

149149
[tool.coverage]
150150
run.omit = [

0 commit comments

Comments
 (0)