mirror of
https://github.com/BigBodyCobain/Shadowbroker.git
synced 2026-05-08 02:16:41 +02:00
33 lines
734 B
YAML
33 lines
734 B
YAML
repos:
|
|
- repo: local
|
|
hooks:
|
|
- id: shadowbroker-secret-scan
|
|
name: ShadowBroker secret scan
|
|
entry: bash backend/scripts/scan-secrets.sh --staged
|
|
language: system
|
|
pass_filenames: false
|
|
|
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
|
rev: v4.6.0
|
|
hooks:
|
|
- id: end-of-file-fixer
|
|
- id: trailing-whitespace
|
|
- id: check-yaml
|
|
- id: check-json
|
|
|
|
- repo: https://github.com/astral-sh/ruff-pre-commit
|
|
rev: v0.9.9
|
|
hooks:
|
|
- id: ruff
|
|
args: ["--fix"]
|
|
|
|
- repo: https://github.com/psf/black
|
|
rev: 25.1.0
|
|
hooks:
|
|
- id: black
|
|
|
|
- repo: https://github.com/pre-commit/mirrors-prettier
|
|
rev: v3.3.3
|
|
hooks:
|
|
- id: prettier
|