-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy path.pre-commit-config.yaml
77 lines (77 loc) · 1.94 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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
---
fail_fast: false
repos:
- repo: meta
hooks:
- id: check-hooks-apply
- id: check-useless-excludes
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: "v5.0.0"
hooks:
- id: trailing-whitespace
exclude: pymolresponse/data
- id: end-of-file-fixer
exclude: pymolresponse/data
- id: fix-byte-order-marker
exclude: pymolresponse/data
- id: check-merge-conflict
- id: check-json
- id: check-toml
- id: check-yaml
- id: check-added-large-files
- repo: https://github.com/Mateusz-Grzelinski/actionlint-py
rev: "v1.7.7.23"
hooks:
- id: actionlint
- repo: https://github.com/PyCQA/isort
rev: "6.0.0"
hooks:
- id: isort
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.9.6
hooks:
- id: ruff
args: [--fix]
- id: ruff-format
- repo: https://github.com/asottile/blacken-docs
rev: "1.19.1"
hooks:
- id: blacken-docs
# - repo: https://github.com/Carreau/velin
# rev: "0.0.12"
# hooks:
# - id: velin
# - repo: https://github.com/PyCQA/doc8
# rev: "v1.1.1"
# hooks:
# - id: doc8
# additional_dependencies:
# - toml
# # not reading pyproject.toml? :(
# args:
# - "--ignore=D001"
# - repo: https://github.com/PyCQA/pydocstyle
# rev: "6.3.0"
# hooks:
# - id: pydocstyle
# additional_dependencies:
# - toml
# - repo: https://github.com/pre-commit/mirrors-mypy
# rev: "v1.8.0"
# hooks:
# - id: mypy
# args: []
# additional_dependencies:
# - attrs
# - numpy
# - types-pyyaml
# - versioningit
- repo: https://github.com/adrienverge/yamllint
rev: "v1.35.1"
hooks:
- id: yamllint
- repo: https://github.com/woodruffw/zizmor-pre-commit
rev: v1.3.1
hooks:
- id: zizmor
args: [--persona=pedantic]