Update pre-commit dependencies (#809)
Some checks failed
CI / python package (push) Has been cancelled
CI / pre-commit (push) Has been cancelled
CI / Check generated files unedited (push) Has been cancelled
CI / mkdocs (push) Has been cancelled

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Micha Reiser <micha@reiser.io>
This commit is contained in:
renovate[bot] 2025-07-11 07:59:44 +00:00 committed by GitHub
parent e3470c2396
commit 1145e8a101
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 13 additions and 9 deletions

View file

@ -29,3 +29,7 @@ MD024:
#
# Ref: https://github.com/astral-sh/ruff/pull/15011#issuecomment-2544790854
MD046: false
# Link text should be descriptive
# Disallows link text like *here* which is annoying.
MD059: false

View file

@ -9,7 +9,7 @@ exclude: |
repos:
- repo: https://github.com/astral-sh/uv-pre-commit
rev: 0.7.3
rev: 0.7.20
hooks:
- id: uv-lock
- repo: https://github.com/pre-commit/pre-commit-hooks
@ -18,7 +18,7 @@ repos:
- id: check-merge-conflict
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.11.8
rev: v0.12.2
hooks:
- id: ruff-format
- id: ruff
@ -40,18 +40,18 @@ repos:
- mdformat-footnote==0.1.1
- repo: https://github.com/igorshubovych/markdownlint-cli
rev: v0.44.0
rev: v0.45.0
hooks:
- id: markdownlint-fix
- repo: https://github.com/crate-ci/typos
rev: v1.32.0
rev: v1.34.0
hooks:
- id: typos
# Prettier
- repo: https://github.com/rbubley/mirrors-prettier
rev: v3.5.3
rev: v3.6.2
hooks:
- id: prettier
types: [yaml]
@ -59,12 +59,12 @@ repos:
# zizmor detects security vulnerabilities in GitHub Actions workflows.
# Additional configuration for the tool is found in `.github/zizmor.yml`
- repo: https://github.com/woodruffw/zizmor-pre-commit
rev: v1.6.0
rev: v1.11.0
hooks:
- id: zizmor
- repo: https://github.com/python-jsonschema/check-jsonschema
rev: 0.33.0
rev: 0.33.2
hooks:
- id: check-github-workflows

View file

@ -52,6 +52,7 @@ cache-keys = [
[tool.ruff]
extend-exclude = ["ruff"]
per-file-target-version = { "scripts/**" = "py313" }
[tool.ruff.lint]
select = [

View file

@ -7,11 +7,10 @@ PyPI includes the README with different rendering.
from __future__ import annotations
import re
import tomllib
import urllib.parse
from pathlib import Path
import tomllib
def main() -> None:
"""Modify the README.md to support PyPI."""