mirror of
https://github.com/python/cpython.git
synced 2026-05-04 09:31:02 +00:00
[3.14] Fix mixed line endings with pre-commit (GH-148336) (#148338)
Co-authored-by: Zachary Ware <zachary.ware@gmail.com>
This commit is contained in:
parent
e8f3f7668f
commit
429c1d3c19
1 changed files with 3 additions and 0 deletions
|
|
@ -77,6 +77,9 @@ repos:
|
|||
exclude: Lib/test/tokenizedata/coding20731.py
|
||||
- id: end-of-file-fixer
|
||||
files: '^\.github/CODEOWNERS$'
|
||||
- id: mixed-line-ending
|
||||
args: [--fix=auto]
|
||||
exclude: '^Lib/test/.*data/'
|
||||
- id: trailing-whitespace
|
||||
types_or: [c, inc, python, rst, yaml]
|
||||
- id: trailing-whitespace
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue