-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.pre-commit-config.yaml
More file actions
37 lines (34 loc) · 1.83 KB
/
.pre-commit-config.yaml
File metadata and controls
37 lines (34 loc) · 1.83 KB
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
35
36
37
default_language_version:
python: python3.13
repos:
# ────────────────────────────────────────────────────────────────
# Black — Code Formatter
# ────────────────────────────────────────────────────────────────
- repo: https://github.com/psf/black
rev: 25.12.0
hooks:
- id: black
language_version: python3.13
args:
- --target-version=py313
# ────────────────────────────────────────────────────────────────
# detect-secrets — Secret Scanner
# ────────────────────────────────────────────────────────────────
- repo: https://github.com/Yelp/detect-secrets
rev: v1.5.0
hooks:
- id: detect-secrets
language_version: python3.13
args:
- --baseline
- .secrets.baseline
# ────────────────────────────────────────────────────────────────
# Bandit — Security Linter
# ────────────────────────────────────────────────────────────────
- repo: https://github.com/PyCQA/bandit
rev: 1.9.2
hooks:
- id: bandit
language_version: python3.13
args:
- -lll