Skip to content

Commit fc5df4d

Browse files
hugovkzware
andauthored
Fix mixed line endings with pre-commit (#148336)
Co-authored-by: Zachary Ware <zachary.ware@gmail.com>
1 parent 05ed7ce commit fc5df4d

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

.pre-commit-config.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,9 @@ repos:
8585
exclude: Lib/test/tokenizedata/coding20731.py
8686
- id: end-of-file-fixer
8787
files: '^\.github/CODEOWNERS$'
88+
- id: mixed-line-ending
89+
args: [--fix=auto]
90+
exclude: '^Lib/test/.*data/'
8891
- id: trailing-whitespace
8992
types_or: [c, inc, python, rst, yaml]
9093
- id: trailing-whitespace

Doc/whatsnew/3.15.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -830,9 +830,9 @@ http.server
830830
is colored by default.
831831
This can be controlled with :ref:`environment variables
832832
<using-on-controlling-color>`.
833-
(Contributed by Hugo van Kemenade in :gh:`146292`.)
834-
835-
833+
(Contributed by Hugo van Kemenade in :gh:`146292`.)
834+
835+
836836
inspect
837837
-------
838838

0 commit comments

Comments
 (0)