Skip to content

Commit fb3926f

Browse files
committed
Lint: Normalise whitespace
1 parent 1ec3df6 commit fb3926f

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

88 files changed

+346
-378
lines changed

.github/PULL_REQUEST_TEMPLATE/Mark a PEP Final.md

Lines changed: 1 addition & 1 deletion

.pre-commit-config.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,15 @@ repos:
1414
- repo: https://github.com/pre-commit/pre-commit-hooks
1515
rev: v5.0.0
1616
hooks:
17+
- id: end-of-file-fixer
18+
name: "Ensure files end with a single newline"
1719
- id: mixed-line-ending
1820
name: "Normalize mixed line endings"
1921
args: [--fix=lf]
22+
- id: trailing-whitespace
23+
name: "Remove trailing whitespace"
24+
args: ["--chars", " \t"]
25+
2026
- id: file-contents-sorter
2127
name: "Sort codespell ignore list"
2228
files: '.codespell/ignore-words.txt'

pep_sphinx_extensions/tests/peps/pep-9000.rst

Lines changed: 1 addition & 1 deletion

peps/pep-0008.rst

Lines changed: 1 addition & 1 deletion

peps/pep-0230.rst

Lines changed: 0 additions & 1 deletion

peps/pep-0247.rst

Lines changed: 0 additions & 1 deletion

peps/pep-0265.rst

Lines changed: 0 additions & 1 deletion

peps/pep-0272.rst

Lines changed: 0 additions & 1 deletion

peps/pep-0282.rst

Lines changed: 3 additions & 3 deletions

peps/pep-0342.rst

Lines changed: 0 additions & 1 deletion

0 commit comments

Comments
 (0)