1 Star 0 Fork 0

lycium_pkg_mirror/libcoap

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
.pre-commit-config.yaml 1.18 KB
一键复制 编辑 原始数据 按行查看 历史
repos:
- repo: https://github.com/igrr/astyle_py.git
rev: v1.0.5
hooks:
- id: astyle_py
files: '^.*\.(c|cpp|cxx|h|h.in|h.riot|h.riot.in|h.windows|h.windows.in|h.contiki|hpp|inc)$'
exclude: '^.*/(coap_uthash_internal.h|coap_utlist_internal.h)$|examples/riot/examples_libcoap_.*$|examples/riot/tests_pkg_libcoap/.*$|zephyr/.*$'
args: ['--style=google',
'--align-pointer=name',
'--align-reference=name',
'--attach-closing-while',
'--attach-return-type-decl',
'--break-after-logical',
'--break-one-line-headers',
'--break-return-type',
'--convert-tabs',
'--indent-continuation=2',
'--indent-preproc-define',
'--indent=spaces=2',
'--max-code-length=100',
'--max-continuation-indent=60',
'--min-conditional-indent=0',
'--pad-header',
'--unpad-paren']
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.3.0
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
- id: check-merge-conflict
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/lycium_pkg_mirror/libcoap.git
git@gitee.com:lycium_pkg_mirror/libcoap.git
lycium_pkg_mirror
libcoap
libcoap
develop

搜索帮助