代码拉取完成,页面将自动刷新
#**************************************************************************************************
#* Copyright (c) 2024 Calypso Networks Association https://calypsonet.org/ *
#* *
#* This program and the accompanying materials are made available under the *
#* terms of the MIT License which is available at https://opensource.org/licenses/MIT. *
#* *
#* SPDX-License-Identifier: MIT *
#**************************************************************************************************/
fail_fast: false
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v2.3.0
hooks:
- id: check-yaml
- id: end-of-file-fixer
- id: trailing-whitespace
args: [--markdown-linebreak-ext=md]
- repo: https://github.com/pocc/pre-commit-hooks
rev: master
hooks:
- id: clang-tidy
name: clang-tidy
entry: clang-tidy -p=build
--system-headers
--fix-errors
# Code formatting (see .clang-format for config used).
- id: clang-format
name: clang-format
args: [-i]
# Static code analysis (for C++ files).
- id: cppcheck
name: cppcheck
args: [--enable=all,
--error-exitcode=1,
--language=c++,
--suppressions-list=./.cppcheck.suppress]
files: \.(cpp|hpp)$
# Coding style analysis. Based on Google C++ code style.
# cpplint configuration can be found in CPPLINT.cfg.
- id: cpplint
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。