-
-
Notifications
You must be signed in to change notification settings - Fork 64
Expand file tree
/
Copy path.pre-commit-config.yaml
More file actions
35 lines (35 loc) · 790 Bytes
/
.pre-commit-config.yaml
File metadata and controls
35 lines (35 loc) · 790 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
35
repos:
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.14.13
hooks:
- id: ruff-format
args: ["backend/btrixcloud/"]
- repo: local
hooks:
- id: pylint
name: pylint
entry: cd backend && pylint
language: system
types: [python]
args: ["btrixcloud/"]
- repo: local
hooks:
- id: mypy
name: mypy
entry: cd backend && mypy
language: python
args: ["btrixcloud/"]
- repo: local
hooks:
- id: husky-run-pre-commit
name: husky
language: system
entry: frontend/.husky/pre-commit
pass_filenames: false
# - repo: local
# hooks:
# - id: password-check
# name: password-check
# language: system
# types: [yaml]
# entry: python3 scripts/check_passwords.py