8000 pre-commit: Try to autofix yaml BEFORE checking it (#269) · chahuamanlu/pyscript@22ffbcb · GitHub
[go: up one dir, main page]

Skip to content

Commit 22ffbcb

Browse files
authored
pre-commit: Try to autofix yaml BEFORE checking it (pyscript#269)
* pre-commit: Remove duplicate hook and reorder
1 parent fadb4a6 commit 22ffbcb

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

.pre-commit-config.yaml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,16 +9,15 @@ repos:
99
- id: check-builtin-literals
1010
- id: check-case-conflict
1111
- id: check-docstring-first
12+
- id: check-json
13+
exclude: tsconfig.json
1214
- id: check-toml
1315
- id: check-xml
1416
- id: check-yaml
1517
- id: detect-private-key
1618
- id: end-of-file-fixer
1719
exclude: \.min\.js$
1820
- id: trailing-whitespace
19-
- id: check-json
20-
exclude: tsconfig.json
21-
- id: check-yaml
2221

2322
- repo: https://github.com/PyCQA/bandit
2423
rev: 1.7.4

0 commit comments

Comments
 (0)
0