generated from bwrob/python_repo_template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.pre-commit-config.yaml
60 lines (60 loc) · 1.43 KB
/
.pre-commit-config.yaml
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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
fail_fast: false
repos:
- hooks:
- args:
- --fix
id: ruff
- id: ruff-format
repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.6.7
- hooks:
- id: check-case-conflict
- id: check-json
- id: check-merge-conflict
- id: check-toml
- id: check-xml
- id: check-yaml
- id: end-of-file-fixer
- id: mixed-line-ending
- id: no-commit-to-branch
- id: trailing-whitespace
- args:
- --autofix
- --indent=4
id: pretty-format-json
repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.6.0
- hooks:
- args:
- --in-place
- --config
- ./pyproject.toml
id: docformatter
repo: https://github.com/PyCQA/docformatter
rev: v1.7.5
- hooks:
- id: fmt
- id: cargo-check
- id: clippy
- id: build
- id: test
repo: https://github.com/FeryET/pre-commit-rust
rev: v1.1.1
- hooks:
- id: check-byte-order-marker
- id: check-case-conflict
- id: check-merge-conflict
- id: check-yaml
- id: end-of-file-fixer
- id: mixed-line-ending
- id: trailing-whitespace
- id: check-json
- id: check-xml
- id: check-toml
- id: no-commit-to-branch
- args:
- --autofix
- --indent=4
id: pretty-format-json
repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.6.0