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
Prev Previous commit
Fix excludes
  • Loading branch information
AA-Turner committed Oct 10, 2023
commit 707ffaa5b16a8b2e8c5b37bcccb114a6522817fb
5 changes: 3 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ repos:
entry: 'python Tools/scripts/reindent.py --nobackup --newline LF'
language: 'system'
types: [python]
exclude: '^(Lib/test/tokenizedata/|Tools/c-analyzer/cpython/_parser).*$'
exclude: '^(Lib/test/tokenizedata/|Tools/c-analyzer/cpython/(_parser|_capi)).*$'

- repo: local
hooks:
Expand All @@ -35,7 +35,8 @@ repos:
# Don't check the style of vendored libraries
exclude: |
(?x)^(
Modules/_ctypes/libffi_osx/.*
Modules/_ctypes/darwin/dlfcn.h
| Modules/_ctypes/libffi_osx/.*
| Modules/_ctypes/libffi_msvc/.*
| Modules/_decimal/.*
| Modules/libmpdec/.*
Expand Down