Visitar URL original
gh-110652: Fix pre-commit hooks on macOS by erlend-aasland · Pull Request #110653 · python/cpython · GitHub
Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
gh-110652: Fix pre-commit hooks on macOS
  • Loading branch information
erlend-aasland committed Oct 10, 2023
commit 6509e94959cdd2c9eb312ef8990bf877c8cac6a9
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ repos:
hooks:
- id: python-file-whitespace
name: "Check Python file whitespace"
entry: 'python Tools/patchcheck/reindent.py --nobackup --newline LF'
entry: './Tools/patchcheck/reindent.py --nobackup --newline LF'
Comment thread
erlend-aasland marked this conversation as resolved.
Outdated
language: 'system'
types: [python]
exclude: '^(Lib/test/tokenizedata/|Tools/c-analyzer/cpython/_parser).*$'
Expand All @@ -36,7 +36,7 @@ repos:
hooks:
- id: c-file-whitespace
name: "Check C file whitespace"
entry: "python Tools/patchcheck/untabify.py"
entry: "./Tools/patchcheck/untabify.py"
Comment thread
erlend-aasland marked this conversation as resolved.
Outdated
language: "system"
types_or: ['c', 'c++']
# Don't check the style of vendored libraries
Expand Down