Skip to content

Commit 9501fab

Browse files
Use language: python
1 parent 6509e94 commit 9501fab

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.pre-commit-config.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,17 +27,17 @@ repos:
2727
hooks:
2828
- id: python-file-whitespace
2929
name: "Check Python file whitespace"
30-
entry: './Tools/patchcheck/reindent.py --nobackup --newline LF'
31-
language: 'system'
30+
entry: 'Tools/patchcheck/reindent.py --nobackup --newline LF'
31+
language: 'python'
3232
types: [python]
3333
exclude: '^(Lib/test/tokenizedata/|Tools/c-analyzer/cpython/_parser).*$'
3434

3535
- repo: local
3636
hooks:
3737
- id: c-file-whitespace
3838
name: "Check C file whitespace"
39-
entry: "./Tools/patchcheck/untabify.py"
40-
language: "system"
39+
entry: "Tools/patchcheck/untabify.py"
40+
language: "python"
4141
types_or: ['c', 'c++']
4242
# Don't check the style of vendored libraries
4343
exclude: |

0 commit comments

Comments
 (0)