Skip to content

Commit 1145e8a

Browse files
Update pre-commit dependencies (#809)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Micha Reiser <[email protected]>
1 parent e3470c2 commit 1145e8a

File tree

4 files changed

+13
-9
lines changed

4 files changed

+13
-9
lines changed

.markdownlint.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,3 +29,7 @@ MD024:
2929
#
3030
# Ref: https://github.com/astral-sh/ruff/pull/15011#issuecomment-2544790854
3131
MD046: false
32+
33+
# Link text should be descriptive
34+
# Disallows link text like *here* which is annoying.
35+
MD059: false

.pre-commit-config.yaml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ exclude: |
99
1010
repos:
1111
- repo: https://github.com/astral-sh/uv-pre-commit
12-
rev: 0.7.3
12+
rev: 0.7.20
1313
hooks:
1414
- id: uv-lock
1515
- repo: https://github.com/pre-commit/pre-commit-hooks
@@ -18,7 +18,7 @@ repos:
1818
- id: check-merge-conflict
1919

2020
- repo: https://github.com/astral-sh/ruff-pre-commit
21-
rev: v0.11.8
21+
rev: v0.12.2
2222
hooks:
2323
- id: ruff-format
2424
- id: ruff
@@ -40,31 +40,31 @@ repos:
4040
- mdformat-footnote==0.1.1
4141

4242
- repo: https://github.com/igorshubovych/markdownlint-cli
43-
rev: v0.44.0
43+
rev: v0.45.0
4444
hooks:
4545
- id: markdownlint-fix
4646

4747
- repo: https://github.com/crate-ci/typos
48-
rev: v1.32.0
48+
rev: v1.34.0
4949
hooks:
5050
- id: typos
5151

5252
# Prettier
5353
- repo: https://github.com/rbubley/mirrors-prettier
54-
rev: v3.5.3
54+
rev: v3.6.2
5555
hooks:
5656
- id: prettier
5757
types: [yaml]
5858

5959
# zizmor detects security vulnerabilities in GitHub Actions workflows.
6060
# Additional configuration for the tool is found in `.github/zizmor.yml`
6161
- repo: https://github.com/woodruffw/zizmor-pre-commit
62-
rev: v1.6.0
62+
rev: v1.11.0
6363
hooks:
6464
- id: zizmor
6565

6666
- repo: https://github.com/python-jsonschema/check-jsonschema
67-
rev: 0.33.0
67+
rev: 0.33.2
6868
hooks:
6969
- id: check-github-workflows
7070

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ cache-keys = [
5252

5353
[tool.ruff]
5454
extend-exclude = ["ruff"]
55+
per-file-target-version = { "scripts/**" = "py313" }
5556

5657
[tool.ruff.lint]
5758
select = [

scripts/transform_readme.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,10 @@
77
from __future__ import annotations
88

99
import re
10+
import tomllib
1011
import urllib.parse
1112
from pathlib import Path
1213

13-
import tomllib
14-
1514

1615
def main() -> None:
1716
"""Modify the README.md to support PyPI."""

0 commit comments

Comments
 (0)