Skip to content

Commit ea93520

Browse files
committed
Update pre-commit
1 parent 407c966 commit ea93520

13 files changed

+30
-11
lines changed

.pre-commit-config.yaml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,19 @@ repos:
77
- id: check-toml
88
- id: check-yaml
99
- id: debug-statements
10+
- id: end-of-file-fixer
11+
- id: trailing-whitespace
12+
13+
- repo: https://github.com/tox-dev/pyproject-fmt
14+
rev: 1.7.0
15+
hooks:
16+
- id: pyproject-fmt
17+
additional_dependencies: [tox]
18+
19+
- repo: https://github.com/abravalheri/validate-pyproject
20+
rev: v0.16
21+
hooks:
22+
- id: validate-pyproject
1023

1124
- repo: https://github.com/tox-dev/tox-ini-fmt
1225
rev: 1.3.1

pyproject.toml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,12 @@ classifiers = [
1616
"Intended Audience :: Developers",
1717
"License :: OSI Approved :: BSD License",
1818
"Programming Language :: Python :: 3 :: Only",
19+
"Programming Language :: Python :: 3.8",
20+
"Programming Language :: Python :: 3.9",
21+
"Programming Language :: Python :: 3.10",
22+
"Programming Language :: Python :: 3.11",
23+
"Programming Language :: Python :: 3.12",
24+
"Programming Language :: Python :: 3.13",
1925
]
2026
dynamic = [
2127
"version",

tests/fail/bpo-.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
bpo-12345: Fixed some problem or other.
1+
bpo-12345: Fixed some problem or other.

tests/fail/dash-space.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
- Issue 345: Thingy, and
2-
we did our own line wrapping, as if.
2+
we did our own line wrapping, as if.

tests/fail/double-metadata.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
.. double: foo
22
.. double: bar
33
4-
xyz!
4+
xyz!

tests/fail/gh-.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
gh-12345: Fixed some problem or other.
1+
gh-12345: Fixed some problem or other.

tests/fail/invalid-gh-number.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
.. gh-issue: abcde
22
.. section: Library
33
4-
Things, stuff.
4+
Things, stuff.

tests/fail/invalid-section.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
.. gh-issue: 8675309
22
.. section: Funky Kong
33
4-
This is an invalid blurb. Shockingly, "Funky Kong" is not a valid section name.
4+
This is an invalid blurb. Shockingly, "Funky Kong" is not a valid section name.

tests/fail/issue-number.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
Issue #12345: Fixed some problem or other.
1+
Issue #12345: Fixed some problem or other.

tests/fail/no-colon.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
.. hello there
22
3-
xyz!
3+
xyz!

0 commit comments

Comments
 (0)