Skip to content

Commit

Permalink
ignore hack/tools/boilerplate/boilerplate.py$
Browse files Browse the repository at this point in the history
  • Loading branch information
nawazkh committed Oct 24, 2023
1 parent 6e074c7 commit 062b720
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ repos:
rev: v2.17.2
hooks:
- id: pylint
exclude: ^hack/boilerplate/boilerplate.py$
- repo: local
hooks:
- id: make-verify-boilerplate
Expand Down
2 changes: 1 addition & 1 deletion hack/boilerplate/boilerplate.py
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ def file_extension(filename):

skipped_dirs = ['Godeps', 'third_party', '_gopath', '_output', '.git', 'cluster/env.sh',
"vendor", "test/e2e/generated/bindata.go", "hack/boilerplate/test",
"pkg/kubectl/generated/bindata.go", "tilt_modules"]
"pkg/kubectl/generated/bindata.go", "tilt_modules", "_artifacts", "hack/tools/bin"]

# list all the files contain 'DO NOT EDIT', but are not generated
skipped_ungenerated_files = ['hack/lib/swagger.sh', 'hack/boilerplate/boilerplate.py']
Expand Down

0 comments on commit 062b720

Please sign in to comment.