mirror of https://github.com/python/cpython.git
[3.13] Add CODEOWNERS and YAML to end-of-file-fixer and trailing-whitespace (GH-134730) (#134787)
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
This commit is contained in:
parent
5fb05ea679
commit
3593d0d1fc
|
@ -35,12 +35,14 @@ repos:
|
|||
exclude: ^Lib/test/test_tomllib/
|
||||
- id: check-yaml
|
||||
- id: end-of-file-fixer
|
||||
types: [python]
|
||||
types_or: [python, yaml]
|
||||
exclude: Lib/test/tokenizedata/coding20731.py
|
||||
- id: end-of-file-fixer
|
||||
files: '^\.github/CODEOWNERS$'
|
||||
- id: trailing-whitespace
|
||||
types_or: [c, inc, python, rst]
|
||||
types_or: [c, inc, python, rst, yaml]
|
||||
- id: trailing-whitespace
|
||||
files: '\.(gram)$'
|
||||
files: '^\.github/CODEOWNERS|\.(gram)$'
|
||||
|
||||
- repo: https://github.com/woodruffw/zizmor-pre-commit
|
||||
rev: v1.6.0
|
||||
|
|
|
@ -32,4 +32,3 @@ build:
|
|||
- make -C Doc venv html
|
||||
- mkdir _readthedocs
|
||||
- mv Doc/build/html _readthedocs/html
|
||||
|
||||
|
|
Loading…
Reference in New Issue