Meta: Update pre-commit to fix Sphinx Lint (#3585)
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
This commit is contained in:
parent
a05ec2e2c6
commit
e9192948f9
|
@ -1,19 +1,27 @@
|
||||||
adaptee
|
adaptee
|
||||||
ancilliary
|
ancilliary
|
||||||
ans
|
ans
|
||||||
|
anull
|
||||||
arithmetics
|
arithmetics
|
||||||
asend
|
asend
|
||||||
ba
|
ba
|
||||||
|
ccompiler
|
||||||
clos
|
clos
|
||||||
complies
|
complies
|
||||||
crate
|
crate
|
||||||
dedented
|
dedented
|
||||||
|
dota
|
||||||
extraversion
|
extraversion
|
||||||
falsy
|
falsy
|
||||||
fo
|
fo
|
||||||
|
groth
|
||||||
iif
|
iif
|
||||||
|
implementor
|
||||||
|
implementors
|
||||||
nd
|
nd
|
||||||
ned
|
ned
|
||||||
|
re-usable
|
||||||
|
re-use
|
||||||
recuse
|
recuse
|
||||||
reenable
|
reenable
|
||||||
referencable
|
referencable
|
||||||
|
|
|
@ -12,7 +12,7 @@ default_stages: [commit]
|
||||||
repos:
|
repos:
|
||||||
# General file checks and fixers
|
# General file checks and fixers
|
||||||
- repo: https://github.com/pre-commit/pre-commit-hooks
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
||||||
rev: v4.4.0
|
rev: v4.5.0
|
||||||
hooks:
|
hooks:
|
||||||
- id: mixed-line-ending
|
- id: mixed-line-ending
|
||||||
name: "Normalize mixed line endings"
|
name: "Normalize mixed line endings"
|
||||||
|
@ -42,8 +42,8 @@ repos:
|
||||||
- id: check-yaml
|
- id: check-yaml
|
||||||
name: "Check YAML"
|
name: "Check YAML"
|
||||||
|
|
||||||
- repo: https://github.com/psf/black
|
- repo: https://github.com/psf/black-pre-commit-mirror
|
||||||
rev: 23.7.0
|
rev: 23.12.0
|
||||||
hooks:
|
hooks:
|
||||||
- id: black
|
- id: black
|
||||||
name: "Format with Black"
|
name: "Format with Black"
|
||||||
|
@ -53,7 +53,7 @@ repos:
|
||||||
files: 'pep_sphinx_extensions/tests/.*'
|
files: 'pep_sphinx_extensions/tests/.*'
|
||||||
|
|
||||||
- repo: https://github.com/astral-sh/ruff-pre-commit
|
- repo: https://github.com/astral-sh/ruff-pre-commit
|
||||||
rev: v0.0.287
|
rev: v0.1.7
|
||||||
hooks:
|
hooks:
|
||||||
- id: ruff
|
- id: ruff
|
||||||
name: "Lint with Ruff"
|
name: "Lint with Ruff"
|
||||||
|
@ -68,7 +68,7 @@ repos:
|
||||||
name: "Format tox.ini"
|
name: "Format tox.ini"
|
||||||
|
|
||||||
- repo: https://github.com/sphinx-contrib/sphinx-lint
|
- repo: https://github.com/sphinx-contrib/sphinx-lint
|
||||||
rev: v0.6.8
|
rev: v0.9.1
|
||||||
hooks:
|
hooks:
|
||||||
- id: sphinx-lint
|
- id: sphinx-lint
|
||||||
name: "Sphinx lint"
|
name: "Sphinx lint"
|
||||||
|
@ -89,7 +89,7 @@ repos:
|
||||||
|
|
||||||
# Manual codespell check
|
# Manual codespell check
|
||||||
- repo: https://github.com/codespell-project/codespell
|
- repo: https://github.com/codespell-project/codespell
|
||||||
rev: v2.2.5
|
rev: v2.2.6
|
||||||
hooks:
|
hooks:
|
||||||
- id: codespell
|
- id: codespell
|
||||||
name: "Check for common misspellings in text files"
|
name: "Check for common misspellings in text files"
|
||||||
|
|
|
@ -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
|
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,
|
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
|
Alternatively, after pushing your branch, you can visit
|
||||||
`https://github.com/python/peps <https://github.com/python/peps>`__, and follow
|
`https://github.com/python/peps <https://github.com/python/peps>`__, and follow
|
||||||
|
|
Loading…
Reference in New Issue