File tree Expand file tree Collapse file tree 4 files changed +13
-9
lines changed Expand file tree Collapse file tree 4 files changed +13
-9
lines changed Original file line number Diff line number Diff line change 29
29
#
30
30
# Ref: https://github.com/astral-sh/ruff/pull/15011#issuecomment-2544790854
31
31
MD046 : false
32
+
33
+ # Link text should be descriptive
34
+ # Disallows link text like *here* which is annoying.
35
+ MD059 : false
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ exclude: |
9
9
10
10
repos :
11
11
- repo : https://github.com/astral-sh/uv-pre-commit
12
- rev : 0.7.3
12
+ rev : 0.7.20
13
13
hooks :
14
14
- id : uv-lock
15
15
- repo : https://github.com/pre-commit/pre-commit-hooks
18
18
- id : check-merge-conflict
19
19
20
20
- repo : https://github.com/astral-sh/ruff-pre-commit
21
- rev : v0.11.8
21
+ rev : v0.12.2
22
22
hooks :
23
23
- id : ruff-format
24
24
- id : ruff
@@ -40,31 +40,31 @@ repos:
40
40
- mdformat-footnote==0.1.1
41
41
42
42
- repo : https://github.com/igorshubovych/markdownlint-cli
43
- rev : v0.44 .0
43
+ rev : v0.45 .0
44
44
hooks :
45
45
- id : markdownlint-fix
46
46
47
47
- repo : https://github.com/crate-ci/typos
48
- rev : v1.32 .0
48
+ rev : v1.34 .0
49
49
hooks :
50
50
- id : typos
51
51
52
52
# Prettier
53
53
- repo : https://github.com/rbubley/mirrors-prettier
54
- rev : v3.5.3
54
+ rev : v3.6.2
55
55
hooks :
56
56
- id : prettier
57
57
types : [yaml]
58
58
59
59
# zizmor detects security vulnerabilities in GitHub Actions workflows.
60
60
# Additional configuration for the tool is found in `.github/zizmor.yml`
61
61
- repo : https://github.com/woodruffw/zizmor-pre-commit
62
- rev : v1.6 .0
62
+ rev : v1.11 .0
63
63
hooks :
64
64
- id : zizmor
65
65
66
66
- repo : https://github.com/python-jsonschema/check-jsonschema
67
- rev : 0.33.0
67
+ rev : 0.33.2
68
68
hooks :
69
69
- id : check-github-workflows
70
70
Original file line number Diff line number Diff line change @@ -52,6 +52,7 @@ cache-keys = [
52
52
53
53
[tool .ruff ]
54
54
extend-exclude = [" ruff" ]
55
+ per-file-target-version = { "scripts/**" = " py313" }
55
56
56
57
[tool .ruff .lint ]
57
58
select = [
Original file line number Diff line number Diff line change 7
7
from __future__ import annotations
8
8
9
9
import re
10
+ import tomllib
10
11
import urllib .parse
11
12
from pathlib import Path
12
13
13
- import tomllib
14
-
15
14
16
15
def main () -> None :
17
16
"""Modify the README.md to support PyPI."""
You can’t perform that action at this time.
0 commit comments