-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.pre-commit-config.yaml
More file actions
34 lines (34 loc) · 971 Bytes
/
.pre-commit-config.yaml
File metadata and controls
34 lines (34 loc) · 971 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
repos:
- repo: https://github.com/gitleaks/gitleaks
rev: v8.29.1
hooks:
- id: gitleaks
- repo: local
hooks:
- id: pytest
name: Run pytest with coverage
entry: uv run pytest --cov=src --cov-report=term-missing --cov-fail-under=100
language: system
pass_filenames: false
- id: ruff-lint
name: Run ruff linting
entry: uv run ruff check
language: system
types: [python]
- id: ruff-format
name: Run ruff formatting
entry: uv run ruff format
language: system
types: [python]
- id: mypy
name: Run mypy type checking
entry: uv run mypy
language: system
pass_filenames: false
args: ["src", "tests"]
- id: bandit
name: Run bandit security checks
entry: uv run bandit
language: system
pass_filenames: false
args: ["-r", "--skip", "B101", "src", "tests"]