Skip to content

Commit 3e5e922

Browse files
committed
Add CODEOWNERS to end-of-file-fixer and trailing-whitespace
1 parent 806107d commit 3e5e922

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.pre-commit-config.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,10 +45,12 @@ repos:
4545
- id: end-of-file-fixer
4646
types: [python]
4747
exclude: Lib/test/tokenizedata/coding20731.py
48+
- id: end-of-file-fixer
49+
files: ^\.github/CODEOWNERS
4850
- id: trailing-whitespace
4951
types_or: [c, inc, python, rst]
5052
- id: trailing-whitespace
51-
files: '\.(gram)$'
53+
files: '^\.github/CODEOWNERS|\.(gram)$'
5254

5355
- repo: https://github.com/python-jsonschema/check-jsonschema
5456
rev: 0.33.0

0 commit comments

Comments
 (0)