We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent df67121 commit b6a55e9Copy full SHA for b6a55e9
1 file changed
.pre-commit-config.yaml
@@ -0,0 +1,36 @@
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
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
20
21
+ - id: pylint-check
22
+ name: PyLint Code Quality
23
+ entry: bash -c 'cd backend && pylint .'
24
25
26
27
28
29
+ - repo: https://github.com/pre-commit/pre-commit-hooks
30
+ rev: v6.0.0
31
32
+ - id: check-toml
33
+ - id: debug-statements
34
+ - id: end-of-file-fixer
35
+ - id: check-yaml
36
+ args: [--allow-multiple-documents]
0 commit comments