Skip to content
Open
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ docs-serve:

# Secret scanning
secrets:
gitleaks detect --redact 80
gitleaks detect --redact 80 --no-banner --timeout 2 --max-target-megabytes=2 -v

# Dependency audit
pysentry:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ repos:
- id: ruff-format

# ty - Astral's type checker (local hook since no prek repo yet)
# Gitleaks - a tool for detecting secrets like passwords, API keys, and tokens
- repo: local
hooks:
- id: ty
Expand All @@ -31,3 +32,8 @@ repos:
language: system
types: [python]
pass_filenames: false
- id: gitleaks
name: gitleaks secret scan
entry: gitleaks git --redact=80 --no-banner --timeout 2 -v --max-target-megabytes=2 --pre-commit --staged
language: system
pass_filenames: false
Loading