chore(pre-commit): use google/yamlfmt
All checks were successful
build / build (push) Successful in 1m2s
All checks were successful
build / build (push) Successful in 1m2s
This commit is contained in:
parent
e17fe17fdf
commit
e19657c5b0
|
@ -1,9 +1,7 @@
|
||||||
---
|
|
||||||
name: build
|
name: build
|
||||||
on:
|
on:
|
||||||
- push
|
- push
|
||||||
- pull_request
|
- pull_request
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
container:
|
container:
|
||||||
|
|
|
@ -1,4 +1,3 @@
|
||||||
---
|
|
||||||
repos:
|
repos:
|
||||||
- repo: https://github.com/pre-commit/pre-commit-hooks
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
||||||
rev: v4.4.0
|
rev: v4.4.0
|
||||||
|
@ -12,8 +11,8 @@ repos:
|
||||||
hooks:
|
hooks:
|
||||||
- id: remove-crlf
|
- id: remove-crlf
|
||||||
- id: remove-tabs
|
- id: remove-tabs
|
||||||
- repo: https://github.com/jumanjihouse/pre-commit-hook-yamlfmt
|
- repo: https://github.com/google/yamlfmt
|
||||||
rev: 0.2.3
|
rev: v0.13.0
|
||||||
hooks:
|
hooks:
|
||||||
- id: yamlfmt
|
- id: yamlfmt
|
||||||
- repo: https://github.com/pdm-project/pdm
|
- repo: https://github.com/pdm-project/pdm
|
||||||
|
@ -40,7 +39,7 @@ repos:
|
||||||
hooks:
|
hooks:
|
||||||
- id: bandit
|
- id: bandit
|
||||||
args: [-c, pyproject.toml]
|
args: [-c, pyproject.toml]
|
||||||
additional_dependencies: ['bandit[toml]']
|
additional_dependencies: ["bandit[toml]"]
|
||||||
- repo: https://github.com/PyCQA/isort
|
- repo: https://github.com/PyCQA/isort
|
||||||
rev: 5.13.2
|
rev: 5.13.2
|
||||||
hooks:
|
hooks:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user