Skip to content

Commit

Permalink
Re-enable detect-private-key hook, exclude test files
Browse files Browse the repository at this point in the history
  • Loading branch information
JonathanWillitts committed Sep 4, 2024
1 parent c058e9f commit 273ea0e
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,12 @@ repos:
- id: check-merge-conflict
- id: check-toml
- id: debug-statements
# - id: detect-private-key
- id: detect-private-key
exclude: |
(?x)^(
edc_consent/tests/crypto_keys/user-rsa-local-private.pem|
edc_consent/tests/crypto_keys/user-rsa-restricted-private.pem
)$
- id: fix-byte-order-marker
- id: requirements-txt-fixer
files: requirements/.*\.txt$
Expand Down

0 comments on commit 273ea0e

Please sign in to comment.