33 rev : v6.0.0 # Use the ref you want to point at
44 hooks :
55 - id : check-added-large-files
6- # - id: trailing-whitespace
7- # - id: check-yaml
6+ - id : check-ast
7+ - id : check-builtin-literals
8+ - id : check-case-conflict
9+ - id : check-docstring-first
10+ - id : check-executables-have-shebangs
11+ - id : check-illegal-windows-names
12+ - id : check-json
13+ - id : check-shebang-scripts-are-executable
14+ exclude : |
15+ (?x)^(
16+ gvasp/slurm.submit|
17+ tests/module/gzy.vtst.conTS.submit|
18+ tests/submit.script|
19+ auto_conda.sh|
20+ gvasp/gvasp-bash-completion.sh
21+ )$
22+ - id : pretty-format-json
23+ args : [ --autofix ]
24+ - id : check-merge-conflict
25+ - id : check-symlinks
26+ - id : check-toml
27+ - id : check-vcs-permalinks
28+ - id : check-xml
29+ - id : check-yaml
30+ exclude : |
31+ (?x)^(
32+ conda/meta.yaml
33+ )$
34+ - id : debug-statements
35+ - id : destroyed-symlinks
36+ - id : detect-aws-credentials
37+ args : [ --allow-missing-credentials ]
38+ - id : detect-private-key
39+ - id : double-quote-string-fixer
40+ - id : end-of-file-fixer
41+ - id : file-contents-sorter
42+ - id : fix-byte-order-marker
43+ - id : forbid-new-submodules
44+ - id : forbid-submodules
45+ - id : mixed-line-ending
46+ - id : name-tests-test
47+ args : [ --pytest-test-first ]
48+ exclude : |
49+ (?x)^(
50+ tests/modify_config.py|
51+ tests/add_font.py|
52+ tests/plot_center/dos_plot.py|
53+ tests/utils.py
54+ )$
55+ - id : no-commit-to-branch
56+ - id : requirements-txt-fixer
57+ - id : sort-simple-yaml
58+ - id : trailing-whitespace
59+ - repo : https://github.com/asottile/pyupgrade
60+ rev : v3.20.0
61+ hooks :
62+ - id : pyupgrade
0 commit comments