forked from aiida-vasp/aiida-vasp
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.pre-commit-config.yaml
44 lines (42 loc) · 1.62 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
exclude: "^(cookiecutters)|(aiida_vasp/test_data)/"
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v5.0.0
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
- id: check-yaml
- id: check-json
- id: check-toml
- id: check-added-large-files
exclude: |
(?x)^(
tests/test_data/test_relax_wc/out/WAVECAR|
tests/test_data/outcar_extras/OUTCAR.converged|
tests/test_data/neb/01/OUTCAR|
tests/test_data/magnetization/OUTCAR|
tests/test_data/neb/03/OUTCAR|
tests/test_data/vasp_wc_ionic_unfinished/calc-001/out/EIGENVAL|
tests/test_data/vasp_wc_ionic_unfinished/calc-001/out/vasprun.xml|
tests/test_data/test_relax_wc/out/CHGCAR|
tests/test_data/vasp_wc_ionic_unfinished/calc-000/out/OUTCAR|
tests/test_data/basic_run_ill_format/vasprun.xml|
tests/test_data/test_converge_wc/out/CHGCAR|
tests/test_data/outcar_extras/OUTCAR.unfinished|
tests/test_data/basic_run/vasprun.xml|
tests/test_data/test_converge_wc/out/WAVECAR|
tests/test_data/disp_details/OUTCAR|
tests/test_data/partial/vasprun.xml|
tests/test_data/vasp_wc_ionic_unfinished/calc-001/out/OUTCAR
)$
args: ["--maxkb=2000"]
- id: forbid-new-submodules
- repo: https://github.com/astral-sh/ruff-pre-commit
# Ruff version.
rev: v0.6.9
hooks:
# Run the linter.
- id: ruff
args: [ "--fix", "--show-fixes" ]
# Run the formatter.
- id: ruff-format