Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ repos:
exclude: .github/labeler.yml

- repo: https://github.com/python-jsonschema/check-jsonschema
rev: 0.37.4
rev: 0.38.0
hooks:
- id: check-github-workflows

Expand Down Expand Up @@ -90,14 +90,14 @@ repos:
- repo: https://github.com/adhtruong/mirrors-typos
# use mirrors-typos because `pre-commit autoupdate` drops the version
# of the primary typos repo from v1.x.y to v1
rev: v1.48.0
rev: v1.50.1
hooks:
- id: typos
name: typos (add false positives to _typos.toml)
exclude: CITATION.cff

- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.16.1
rev: v0.16.6
hooks:
- id: ruff-check
name: ruff-check (see https://docs.astral.sh/ruff/rules)
Expand All @@ -119,7 +119,7 @@ repos:
- id: sphinx-lint

- repo: https://github.com/abravalheri/validate-pyproject
rev: v0.25
rev: '0.26'
hooks:
- id: validate-pyproject
name: validate pyproject.toml
Expand All @@ -139,13 +139,13 @@ repos:
# - validate-pyproject[all,store]

- repo: https://github.com/tox-dev/pyproject-fmt
rev: v2.26.0
rev: v2.29.3
hooks:
- id: pyproject-fmt
name: format pyproject.toml

- repo: https://github.com/astral-sh/uv-pre-commit
rev: 0.12.1
rev: 0.12.10
hooks:
# running uv lock requires network access or a warm cache, so it
# cannot be run via pre-commit.ci, even with the `--offline`,
Expand Down
4 changes: 3 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
[build-system]
build-backend = "uv_build"
requires = [ "uv-build>=0.12.5,<0.13" ]
Expand Down Expand Up @@ -300,7 +300,9 @@
lint.flake8-tidy-imports.banned-api."typing.Iterator".msg = "Deprecated alias. Change to collections.abc.Iterator"
lint.flake8-tidy-imports.banned-api."typing.List".msg = "Deprecated alias. Change to list"
lint.flake8-tidy-imports.banned-api."typing.Mapping".msg = "Deprecated alias. Change to collections.abc.mapping"
lint.flake8-tidy-imports.banned-api."typing.MutableMapping".msg = "Deprecated alias. Change to collections.abc.MutableMapping"
lint.flake8-tidy-imports.banned-api."typing.MutableMapping".msg = """\
Deprecated alias. Change to collections.abc.MutableMapping\
"""
lint.flake8-tidy-imports.banned-api."typing.Sequence".msg = "Deprecated alias. Change to collections.abc.Sequence"
lint.flake8-tidy-imports.banned-api."typing.Set".msg = "Deprecated alias. Change to set"
lint.flake8-tidy-imports.banned-api."typing.Tuple".msg = "Deprecated alias. Change to tuple"
Expand Down
Loading