1 Star 0 Fork 0

乐鑫开源/esp-serial-flasher

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
.pre-commit-config.yaml 991 Bytes
一键复制 编辑 原始数据 按行查看 历史
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]
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
C
1
https://gitee.com/EspressifSystems/esp-serial-flasher.git
[email protected]:EspressifSystems/esp-serial-flasher.git
EspressifSystems
esp-serial-flasher
esp-serial-flasher
master

搜索帮助