chore(pre-commit): use google/yamlfmt
All checks were successful
build / build (push) Successful in 1m2s

This commit is contained in:
张泊明518370910136 2024-10-19 06:58:54 -04:00
parent e17fe17fdf
commit e19657c5b0
GPG Key ID: D47306D7062CDA9D
2 changed files with 90 additions and 93 deletions

View File

@ -1,9 +1,7 @@
---
name: build
on:
- push
- pull_request
jobs:
build:
container:

View File

@ -1,4 +1,3 @@
---
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.4.0
@ -12,8 +11,8 @@ repos:
hooks:
- id: remove-crlf
- id: remove-tabs
- repo: https://github.com/jumanjihouse/pre-commit-hook-yamlfmt
rev: 0.2.3
- repo: https://github.com/google/yamlfmt
rev: v0.13.0
hooks:
- id: yamlfmt
- repo: https://github.com/pdm-project/pdm
@ -40,7 +39,7 @@ repos:
hooks:
- id: bandit
args: [-c, pyproject.toml]
additional_dependencies: ['bandit[toml]']
additional_dependencies: ["bandit[toml]"]
- repo: https://github.com/PyCQA/isort
rev: 5.13.2
hooks: