-
Notifications
You must be signed in to change notification settings - Fork 55
Expand file tree
/
Copy path.pre-commit-config.yaml
More file actions
69 lines (60 loc) · 1.7 KB
/
.pre-commit-config.yaml
File metadata and controls
69 lines (60 loc) · 1.7 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
61
62
63
64
65
66
67
68
69
default_language_version:
python: python3.12
ci:
autoupdate_schedule: quarterly
default_stages: [pre-commit]
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: v6.0.0
hooks:
- id: check-added-large-files
- id: check-ast
- id: fix-byte-order-marker
- id: check-builtin-literals
- id: check-case-conflict
- id: check-docstring-first
- id: check-executables-have-shebangs
- id: check-shebang-scripts-are-executable
- id: check-merge-conflict
- id: check-vcs-permalinks
- id: debug-statements
- id: destroyed-symlinks
- id: detect-private-key
- id: double-quote-string-fixer
- id: end-of-file-fixer
- id: fix-byte-order-marker
- id: mixed-line-ending
- id: trailing-whitespace
- repo: https://github.com/asottile/seed-isort-config
rev: v2.2.0
hooks:
- id: seed-isort-config
- repo: https://github.com/PyCQA/isort
rev: 8.0.1
hooks:
- id: isort
exclude: ^sevenn/pair_e3gnn/
- repo: https://github.com/pycqa/flake8
rev: 7.3.0
hooks:
- id: flake8
exclude: ^sevenn/pair_e3gnn/
require_serial: true
- repo: https://github.com/codespell-project/codespell
rev: v2.4.2
hooks:
- id: codespell
stages: [pre-commit, commit-msg]
args: ["--ignore-words-list", "Commun"]
exclude: |
(?x)(
^example_inputs/data/|
^sevenn/pair_e3gnn/comm_brick.cpp|
^sevenn/pair_e3gnn/pair_d3.cu|
^sevenn/pair_e3gnn/pair_d3_for_ase.cu
)