ci: add astyle pre-commit check

This commit is contained in:
Ivan Grokhotkov
2022-09-08 08:48:30 +02:00
parent d33ee17dee
commit 43741ec803
6 changed files with 214 additions and 18 deletions
+6
View File
@@ -202,3 +202,9 @@ repos:
hooks:
- id: conventional-precommit-linter
stages: [commit-msg]
- repo: https://github.com/espressif/astyle_py.git
rev: v1.0.2
hooks:
- id: astyle_py
# If you are modifying astyle version, update tools/format.sh as well
args: ['--astyle-version=3.4.7', '--rules=tools/ci/astyle_rules.yml']