File tree Expand file tree Collapse file tree 1 file changed +29
-2
lines changed Expand file tree Collapse file tree 1 file changed +29
-2
lines changed Original file line number Diff line number Diff line change 1
- # .pre-commit-config.yaml
1
+ ci :
2
+ autoupdate_commit_msg : " chore: update pre-commit hooks"
3
+ autofix_commit_msg : " style: pre-commit fixes"
4
+
2
5
repos :
3
6
- repo : https://github.com/pre-commit/pre-commit-hooks
4
- rev : v4 .0.1
7
+ rev : v5 .0.0
5
8
hooks :
6
9
- id : trailing-whitespace
7
10
- id : end-of-file-fixer
8
11
- id : check-yaml
9
12
- id : check-json
10
13
- id : check-added-large-files
11
14
args : ['--maxkb=500'] # set the max file size to 500KB
15
+ - id : check-case-conflict
16
+ - id : check-merge-conflict
17
+ - id : check-symlinks
18
+ # - id: debug-statements
19
+ - id : mixed-line-ending
12
20
13
21
# - repo: https://github.com/psf/black
14
22
# rev: 25.1.0 # Use the latest stable version
@@ -24,3 +32,22 @@ repos:
24
32
# rev: 6.0.0 # Use the latest stable version
25
33
# hooks:
26
34
# - id: isort
35
+
36
+ # - repo: https://github.com/astral-sh/ruff-pre-commit
37
+ # rev: "v0.11.5"
38
+ # hooks:
39
+ # # first, lint + autofix
40
+ # - id: ruff
41
+ # types_or: [python, pyi, jupyter]
42
+ # args: ["--fix", "--show-fixes"]
43
+ # # then, format
44
+ # - id: ruff-format
45
+
46
+ # - repo: https://github.com/pre-commit/mirrors-mypy
47
+ # rev: "v1.15.0"
48
+ # hooks:
49
+ # - id: mypy
50
+ # files: src
51
+ # args: []
52
+ # additional_dependencies:
53
+ # - pytest
You can’t perform that action at this time.
0 commit comments