1 Star 0 Fork 0

dr_li/oomph-lib

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
.pre-commit-config.yaml 815 Bytes
一键复制 编辑 原始数据 按行查看 历史
Puneet Matharu 提交于 2021-08-14 14:11 . Add .pre-commit-config.yaml file.
repos:
- repo: local
hooks:
# Run clang-format over all C++ files. We only want to format the src/
# directory. We don't format files with a .c prefix which avoids C sources
# (as they are likely not ours). However, files with a .h prefix may be
# confused for our C++ headers (e.g. src/generic/cfortran.h) so we have
# to ignore them explicitly in the regex recipe.
# IMPORTANT: This pre-commit hook should only be used if you have a recent
# enough version of .clang-format. To date, that appears to be V10.0.0.
- id: clang-format
name: clang-format
description: Format files with clang-format.
entry: clang-format -i
language: system
files: ^(src)\/(?!.*(cfortran|lapack_qz))(.+)\.(h|cc)$
args: ['-style=file']
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
C++
1
https://gitee.com/libo4me/oomph-lib.git
git@gitee.com:libo4me/oomph-lib.git
libo4me
oomph-lib
oomph-lib
development

搜索帮助