Skip to content

Commit e919294

Browse files
Meta: Update pre-commit to fix Sphinx Lint (python#3585)
Co-authored-by: Jelle Zijlstra <[email protected]>
1 parent a05ec2e commit e919294

File tree

3 files changed

+15
-7
lines changed

3 files changed

+15
-7
lines changed

.codespell/ignore-words.txt

+8
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,27 @@
11
adaptee
22
ancilliary
33
ans
4+
anull
45
arithmetics
56
asend
67
ba
8+
ccompiler
79
clos
810
complies
911
crate
1012
dedented
13+
dota
1114
extraversion
1215
falsy
1316
fo
17+
groth
1418
iif
19+
implementor
20+
implementors
1521
nd
1622
ned
23+
re-usable
24+
re-use
1725
recuse
1826
reenable
1927
referencable

.pre-commit-config.yaml

+6-6
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ default_stages: [commit]
1212
repos:
1313
# General file checks and fixers
1414
- repo: https://github.com/pre-commit/pre-commit-hooks
15-
rev: v4.4.0
15+
rev: v4.5.0
1616
hooks:
1717
- id: mixed-line-ending
1818
name: "Normalize mixed line endings"
@@ -42,8 +42,8 @@ repos:
4242
- id: check-yaml
4343
name: "Check YAML"
4444

45-
- repo: https://github.com/psf/black
46-
rev: 23.7.0
45+
- repo: https://github.com/psf/black-pre-commit-mirror
46+
rev: 23.12.0
4747
hooks:
4848
- id: black
4949
name: "Format with Black"
@@ -53,7 +53,7 @@ repos:
5353
files: 'pep_sphinx_extensions/tests/.*'
5454

5555
- repo: https://github.com/astral-sh/ruff-pre-commit
56-
rev: v0.0.287
56+
rev: v0.1.7
5757
hooks:
5858
- id: ruff
5959
name: "Lint with Ruff"
@@ -68,7 +68,7 @@ repos:
6868
name: "Format tox.ini"
6969

7070
- repo: https://github.com/sphinx-contrib/sphinx-lint
71-
rev: v0.6.8
71+
rev: v0.9.1
7272
hooks:
7373
- id: sphinx-lint
7474
name: "Sphinx lint"
@@ -89,7 +89,7 @@ repos:
8989

9090
# Manual codespell check
9191
- repo: https://github.com/codespell-project/codespell
92-
rev: v2.2.5
92+
rev: v2.2.6
9393
hooks:
9494
- id: codespell
9595
name: "Check for common misspellings in text files"

CONTRIBUTING.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ this link**, as it does not provide the option to populate the PR template.
5454

5555
However, you *can* use the ``gh`` command line tool. ``gh pr create`` will allow
5656
you to create a pull request, will prompt you for the template you wish to use,
57-
and then give you the option of continuing editing in your broswer.
57+
and then give you the option of continuing editing in your browser.
5858

5959
Alternatively, after pushing your branch, you can visit
6060
`https://github.com/python/peps <https://github.com/python/peps>`__, and follow

0 commit comments

Comments
 (0)