TradingAgents/.pre-commit-config.yaml

20 lines
521 B
YAML

repos:
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.12.8
hooks:
- id: ruff
args: [--fix]
- id: ruff-format
- repo: https://github.com/pre-commit/mirrors-prettier
rev: v4.0.0-alpha.8
hooks:
- id: prettier
files: "\\.(js|jsx|ts|tsx|mts|cts|json|css|scss|md|ya?ml)$"
exclude: "uv.lock"
- repo: https://github.com/gitleaks/gitleaks
rev: v8.28.0
hooks:
- id: gitleaks
args: ["protect", "--staged", "--redact", "--verbose"]