-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy path.pre-commit-config.yaml
More file actions
60 lines (57 loc) · 1.77 KB
/
.pre-commit-config.yaml
File metadata and controls
60 lines (57 loc) · 1.77 KB
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
# See https://pre-commit.com for more information
# See https://pre-commit.com/hooks.html for more hooks
default_language_version:
python: python3.13
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v5.0.0
hooks:
- id: trailing-whitespace
language_version: python3.12
- id: trailing-whitespace
language_version: python3.13
- id: end-of-file-fixer
language_version: python3.12
- id: end-of-file-fixer
language_version: python3.13
- id: check-yaml
language_version: python3.12
- id: check-yaml
language_version: python3.13
- id: check-toml
language_version: python3.12
- id: check-toml
language_version: python3.13
- id: check-added-large-files
language_version: python3.12
- id: check-added-large-files
language_version: python3.13
- id: check-merge-conflict
language_version: python3.12
- id: check-merge-conflict
language_version: python3.13
- id: check-case-conflict
language_version: python3.12
- id: check-case-conflict
language_version: python3.13
- id: check-symlinks
language_version: python3.12
- id: check-symlinks
language_version: python3.13
- id: check-json
language_version: python3.12
- id: check-json
language_version: python3.13
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.7.2
hooks:
- id: ruff
args: [ "--fix", "--select", "I" ]
language_version: python3.13
- repo: https://github.com/tox-dev/pyproject-fmt
rev: "2.2.4"
hooks:
- id: pyproject-fmt
language_version: python3.12
- id: pyproject-fmt
language_version: python3.13