Skip to content

Commit 06589dc

Browse files
committed
gen_exclude at top level
1 parent e582ec8 commit 06589dc

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

.pre-commit-config.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ ci:
1212
skip: [bandit]
1313
submodules: false
1414

15+
gen_exclude: &gen_exclude '^cuda_bindings/cuda/bindings/.*\.in?$'
16+
1517
# Please update the rev: SHAs below with this command:
1618
# pre-commit autoupdate --freeze
1719
repos:
@@ -52,9 +54,11 @@ repos:
5254
- id: check-yaml
5355
- id: debug-statements
5456
- id: end-of-file-fixer
57+
exclude: *gen_exclude
5558
- id: mixed-line-ending
5659
- id: requirements-txt-fixer
5760
- id: trailing-whitespace
61+
exclude: *gen_exclude
5862

5963
# Checking for common mistakes
6064
- repo: https://github.com/pre-commit/pygrep-hooks

0 commit comments

Comments
 (0)