Skip to content

Commit 2995232

Browse files
Fix pre-commit config
1 parent 75b5430 commit 2995232

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

.pre-commit-config.yaml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,10 +58,12 @@ repos:
5858

5959
- id: buildifier fix
6060
name: bazel linting fix (container)
61-
entry: buildifier --lint=fix -r .
61+
entry: buildifier --lint=fix
6262
language: system
63+
files: '(^|/)(BUILD(\.bazel)?|MODULE\.bazel|.*\.bzl)$'
6364

6465
- id: buildifier format
6566
name: bazel formatting (container)
66-
entry: buildifier -r .
67+
entry: buildifier
6768
language: system
69+
files: '(^|/)(BUILD(\.bazel)?|MODULE\.bazel|.*\.bzl)$'

0 commit comments

Comments
 (0)