Skip to content
Open
Changes from all commits
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
7 changes: 7 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,10 @@ repos:
# Exclude files in .yapfignore - yapf's pre-commit issue
exclude:
(?x)^(
compiler/_deprecated/.*|
compiler/one-cmds/one-prepare-venv|
runtime/3rdparty/.*|
runtime/contrib/.*|
runtime/tests/nnapi/nnapi_test_generator/.*|
runtime/tests/nnapi/specs/.*
)$
Expand All @@ -63,6 +65,11 @@ repos:
id: clang-format
types_or: [file] # override default type check to cl files
files: ((\.c[cl]?)|(\.cpp)|(\.h(pp)?))$
exclude:
(?x)^(
compiler/_deprecated/.*|
runtime/contrib/.*
)

- repo: local
hooks:
Expand Down
Loading