-
-
Notifications
You must be signed in to change notification settings - Fork 226
Expand file tree
/
Copy path.pre-commit-config.yaml
More file actions
26 lines (26 loc) · 846 Bytes
/
.pre-commit-config.yaml
File metadata and controls
26 lines (26 loc) · 846 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
repos:
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.11.6 # Should match pyproject.toml
hooks:
- id: ruff
name: ruff common
args: ['--fix']
- id: ruff-format
- repo: https://github.com/golangci/golangci-lint
rev: v1.62.0 # Should match .github/workflows/build.yml
hooks:
- id: golangci-lint-full
language_version: 1.23.8 # Should match runner/go.mod
entry: bash -c 'cd runner && golangci-lint run'
stages: [manual]
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v5.0.0
hooks:
- id: end-of-file-fixer
- repo: local
hooks:
- id: frontend-pre-commit
name: frontend-pre-commit
entry: bash -c "cd frontend && npm install && npm run precommit"
language: system
pass_filenames: false