[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:
Miss Islington (bot) 2023-12-12 17:30:00 +01:00 committed by GitHub
parent fd3b894725
commit 1ee872b27b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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]