Add yamllint and clang-format to pre-commit hooks (#6578)

Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
This commit is contained in:
Clyde Stubbs 2024-04-23 08:10:07 +10:00 committed by GitHub
parent c7bfd9b46b
commit 7510468a9b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -31,3 +31,12 @@ repos:
hooks:
- id: pyupgrade
args: [--py39-plus]
- repo: https://github.com/adrienverge/yamllint.git
rev: v1.35.1
hooks:
- id: yamllint
- repo: https://github.com/pre-commit/mirrors-clang-format
rev: v13.0.1
hooks:
- id: clang-format