Meta: Update pre-commit to fix Sphinx Lint (#3585)

Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
This commit is contained in:
Hugo van Kemenade 2023-12-12 19:06:18 +02:00 committed by GitHub
parent a05ec2e2c6
commit e9192948f9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 15 additions and 7 deletions

View File

@ -1,19 +1,27 @@
adaptee
ancilliary
ans
anull
arithmetics
asend
ba
ccompiler
clos
complies
crate
dedented
dota
extraversion
falsy
fo
groth
iif
implementor
implementors
nd
ned
re-usable
re-use
recuse
reenable
referencable

View File

@ -12,7 +12,7 @@ default_stages: [commit]
repos:
# General file checks and fixers
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.4.0
rev: v4.5.0
hooks:
- id: mixed-line-ending
name: "Normalize mixed line endings"
@ -42,8 +42,8 @@ repos:
- id: check-yaml
name: "Check YAML"
- repo: https://github.com/psf/black
rev: 23.7.0
- repo: https://github.com/psf/black-pre-commit-mirror
rev: 23.12.0
hooks:
- id: black
name: "Format with Black"
@ -53,7 +53,7 @@ repos:
files: 'pep_sphinx_extensions/tests/.*'
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.0.287
rev: v0.1.7
hooks:
- id: ruff
name: "Lint with Ruff"
@ -68,7 +68,7 @@ repos:
name: "Format tox.ini"
- repo: https://github.com/sphinx-contrib/sphinx-lint
rev: v0.6.8
rev: v0.9.1
hooks:
- id: sphinx-lint
name: "Sphinx lint"
@ -89,7 +89,7 @@ repos:
# Manual codespell check
- repo: https://github.com/codespell-project/codespell
rev: v2.2.5
rev: v2.2.6
hooks:
- id: codespell
name: "Check for common misspellings in text files"

View File

@ -54,7 +54,7 @@ this link**, as it does not provide the option to populate the PR template.
However, you *can* use the ``gh`` command line tool. ``gh pr create`` will allow
you to create a pull request, will prompt you for the template you wish to use,
and then give you the option of continuing editing in your broswer.
and then give you the option of continuing editing in your browser.
Alternatively, after pushing your branch, you can visit
`https://github.com/python/peps <https://github.com/python/peps>`__, and follow