Detect secrets in pre-commit (#332)

This commit is contained in:
Simon Alibert 2024-07-18 19:39:15 +02:00 committed by GitHub
parent ee200e86cb
commit c75ea789a8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 6 additions and 2 deletions

View File

@ -14,11 +14,11 @@ repos:
- id: end-of-file-fixer - id: end-of-file-fixer
- id: trailing-whitespace - id: trailing-whitespace
- repo: https://github.com/asottile/pyupgrade - repo: https://github.com/asottile/pyupgrade
rev: v3.15.2 rev: v3.16.0
hooks: hooks:
- id: pyupgrade - id: pyupgrade
- repo: https://github.com/astral-sh/ruff-pre-commit - repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.4.3 rev: v0.5.2
hooks: hooks:
- id: ruff - id: ruff
args: [--fix] args: [--fix]
@ -31,3 +31,7 @@ repos:
args: args:
- "--check" - "--check"
- "--no-update" - "--no-update"
- repo: https://github.com/gitleaks/gitleaks
rev: v8.18.4
hooks:
- id: gitleaks