pre-commit: Try to autofix yaml BEFORE checking it (#269)

* pre-commit: Remove duplicate hook and reorder
This commit is contained in:
Christian Clauss
2022-05-07 07:05:32 +02:00
committed by GitHub
parent fadb4a67e7
commit 22ffbcb21d

View File

@@ -9,6 +9,8 @@ repos:
- id: check-builtin-literals - id: check-builtin-literals
- id: check-case-conflict - id: check-case-conflict
- id: check-docstring-first - id: check-docstring-first
- id: check-json
exclude: tsconfig.json
- id: check-toml - id: check-toml
- id: check-xml - id: check-xml
- id: check-yaml - id: check-yaml
@@ -16,9 +18,6 @@ repos:
- id: end-of-file-fixer - id: end-of-file-fixer
exclude: \.min\.js$ exclude: \.min\.js$
- id: trailing-whitespace - id: trailing-whitespace
- id: check-json
exclude: tsconfig.json
- id: check-yaml
- repo: https://github.com/PyCQA/bandit - repo: https://github.com/PyCQA/bandit
rev: 1.7.4 rev: 1.7.4