代码拉取完成,页面将自动刷新
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.3.0
hooks:
- id: trailing-whitespace
exclude: &excludes |
(?x)^(
.+\.(md|bin)|
examples/stm32_example/.+
)$
- id: end-of-file-fixer
exclude: *excludes
- id: mixed-line-ending
args: ['-f=lf']
exclude: *excludes
- repo: https://github.com/espressif/astyle_py.git
rev: v1.0.5
hooks:
- id: astyle_py
args: [--options=astyle_config]
exclude: *excludes
- repo: https://github.com/espressif/conventional-precommit-linter
rev: v1.9.0
hooks:
- id: conventional-precommit-linter
stages: [commit-msg]
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.1.14
hooks:
- id: ruff # Runs ruff linter
args: [--fix, --exit-non-zero-on-fix] # --fix for fixing errors
types: [python]
- id: ruff-format
types: [python]
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。