Skip to content

Commit

Permalink
Pre-commit hook: Exclude private keys used with docker compose
Browse files Browse the repository at this point in the history
Exclude 'test-integration/certificates/.*' path when detect-private-key
pre-commit hook runs.
  • Loading branch information
jamlo committed Oct 8, 2024
1 parent a4dc593 commit deb21ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ repos:
- id: detect-aws-credentials
args: [--allow-missing-credentials]
- id: detect-private-key
exclude: testdata/.*
exclude: 'testdata/.*|test-integration/certificates/.*'
- id: check-yaml
- id: check-json
- repo: https://github.com/astral-sh/ruff-pre-commit
Expand Down

0 comments on commit deb21ad

Please sign in to comment.