Skip to content

Commit 3e8b0c9

Browse files
committed
register catch-dotenv hook
1 parent c7f0dae commit 3e8b0c9

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.pre-commit-hooks.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,13 @@
2323
entry: check-builtin-literals
2424
language: python
2525
types: [python]
26+
- id: catch-dotenv
27+
name: catch dotenv files
28+
description: blocks committing .env files. optionally creates value-sanitized .env.example.
29+
entry: catch-dotenv
30+
language: python
31+
pass_filenames: true
32+
always_run: false
2633
- id: check-case-conflict
2734
name: check for case conflicts
2835
description: checks for files that would conflict in case-insensitive filesystems.

0 commit comments

Comments
 (0)