-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.pre-commit-config.yaml
More file actions
54 lines (53 loc) · 1.48 KB
/
.pre-commit-config.yaml
File metadata and controls
54 lines (53 loc) · 1.48 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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
# Pre-commit hooks for Fire project
# See https://pre-commit.com for more information
repos:
# General file checks
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.5.0
hooks:
- id: trailing-whitespace
- id: check-yaml
args: ["--unsafe"] # Allow custom YAML tags in requirement frontmatter
- id: check-added-large-files
args: ["--maxkb=1000"]
- id: check-merge-conflict
- id: check-case-conflict
- id: mixed-line-ending
- repo: https://github.com/keith/pre-commit-buildifier
rev: 6.4.0
hooks:
- id: buildifier
args: ["--warnings=all"]
- id: buildifier-lint
- repo: https://github.com/igorshubovych/markdownlint-cli
rev: v0.39.0
hooks:
- id: markdownlint
args: ["--fix"]
- repo: https://github.com/pre-commit/mirrors-prettier
rev: "v4.0.0-alpha.8"
hooks:
- id: prettier
- repo: https://github.com/psf/black
rev: 25.9.0
hooks:
- id: black
- repo: https://github.com/codespell-project/codespell
rev: "v2.4.1"
hooks:
- id: codespell
args: [-w]
exclude: "MODULE.bazel.lock"
- repo: https://github.com/Yelp/detect-secrets
rev: "v1.5.0"
hooks:
- id: detect-secrets
exclude: .pre-commit-config.yaml
- repo: https://github.com/zricethezav/gitleaks
rev: "v8.28.0"
hooks:
- id: gitleaks
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: "v0.13.3"
hooks:
- id: ruff