Skip to content
Snippets Groups Projects
Commit c77c4154 authored by soblin's avatar soblin
Browse files

adding pre-commit-config

parent f55c791e
No related branches found
No related tags found
No related merge requests found
((c++-mode . ((mode . clang-format+))))
# See https://pre-commit.com for more information
# See https://pre-commit.com/hooks.html for more hooks
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v3.2.0
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
- id: check-yaml
- id: check-added-large-files
# CMake formatting
- repo: https://github.com/cheshirekow/cmake-format-precommit
rev: "v0.6.13"
hooks:
- id: cmake-format
additional_dependencies: [pyyaml]
types: [file]
files: (\.cmake|CMakeLists.txt)(.in)?$
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment