Skip to content

Commit 5ea7b29

Browse files
committed
exclude js, css and svg files from pre-commit
1 parent 5c91326 commit 5ea7b29

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.pre-commit-config.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ default_stages: [commit]
66
default_install_hook_types: [pre-commit, commit-msg]
77

88
# ignore generated doc and dependency lock files
9-
exclude: ^(docs/.+|.*lock.*)$
9+
exclude: ^(docs/.+|.*lock.*|.*\.(svg|js|css))$
1010

1111
repos:
1212
- repo: https://github.com/PyCQA/isort

tests/test_files/chgcar.vasp

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
unknown system
2-
1.00000000000000
1+
unknown system
2+
1.00000000000000
33
3.348898 0.000000 1.933487
44
1.116299 3.157372 1.933487
55
0.000000 0.000000 3.866975
@@ -8,7 +8,7 @@ unknown system
88
Direct
99
0.875000 0.875000 0.875000
1010
0.125000 0.125000 0.125000
11-
11+
1212
60 60 60
1313
0.47563999357E-01 0.56042272854E-01 0.84045048269E-01 0.13926189882E+00 0.23632981619E+00
1414
0.39737448544E+00 0.65455375135E+00 0.10481647756E+01 0.16212525231E+01 0.24112466871E+01

0 commit comments

Comments
 (0)