File tree Expand file tree Collapse file tree 1 file changed +36
-0
lines changed
Expand file tree Collapse file tree 1 file changed +36
-0
lines changed Original file line number Diff line number Diff line change 1+ # .pre-commit-config.yaml
2+
3+ repos :
4+ - repo : https://github.com/astral-sh/ruff-pre-commit
5+ rev : v0.14.8
6+ hooks :
7+ - id : ruff
8+ args : ["backend/"]
9+ always_run : true
10+
11+ - repo : local
12+ hooks :
13+ - id : mypy-check
14+ name : MyPy Type Checking
15+ entry : bash -c 'cd backend && mypy .'
16+ language : system
17+ types : [python]
18+ pass_filenames : false
19+ always_run : true
20+
21+ - id : pylint-check
22+ name : PyLint Code Quality
23+ entry : bash -c 'cd backend && pylint .'
24+ language : system
25+ types : [python]
26+ pass_filenames : false
27+ always_run : true
28+
29+ - repo : https://github.com/pre-commit/pre-commit-hooks
30+ rev : v6.0.0
31+ hooks :
32+ - id : check-toml
33+ - id : debug-statements
34+ - id : end-of-file-fixer
35+ - id : check-yaml
36+ args : [--allow-multiple-documents]
You can’t perform that action at this time.
0 commit comments