mirror of
https://github.com/python/cpython.git
synced 2025-09-25 17:59:57 +00:00
[3.12] Update pre-commit to fix Sphinx Lint (GH-113015) (#113017)
Update pre-commit to fix Sphinx Lint (GH-113015)
(cherry picked from commit eafc2381a0
)
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
This commit is contained in:
parent
fd3b894725
commit
1ee872b27b
1 changed files with 2 additions and 2 deletions
|
@ -1,6 +1,6 @@
|
||||||
repos:
|
repos:
|
||||||
- repo: https://github.com/astral-sh/ruff-pre-commit
|
- repo: https://github.com/astral-sh/ruff-pre-commit
|
||||||
rev: v0.1.2
|
rev: v0.1.7
|
||||||
hooks:
|
hooks:
|
||||||
- id: ruff
|
- id: ruff
|
||||||
name: Run Ruff on Lib/test/
|
name: Run Ruff on Lib/test/
|
||||||
|
@ -24,7 +24,7 @@ repos:
|
||||||
types_or: [c, inc, python, rst]
|
types_or: [c, inc, python, rst]
|
||||||
|
|
||||||
- repo: https://github.com/sphinx-contrib/sphinx-lint
|
- repo: https://github.com/sphinx-contrib/sphinx-lint
|
||||||
rev: v0.8.1
|
rev: v0.9.1
|
||||||
hooks:
|
hooks:
|
||||||
- id: sphinx-lint
|
- id: sphinx-lint
|
||||||
args: [--enable=default-role]
|
args: [--enable=default-role]
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue