forked from AIDASoft/podio
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.pre-commit-config.yaml
31 lines (31 loc) · 1.01 KB
/
.pre-commit-config.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v3.4.0
hooks:
- id: mixed-line-ending
- id: trailing-whitespace
exclude: (doc/ReleaseNotes.md)
- repo: local
hooks:
- id: clang-tidy
name: clang-tidy
entry: clang-tidy -warnings-as-errors='*,-clang-diagnostic-deprecated-declarations' -p compile_commands.json
types: [c++]
exclude: (tests/(datamodel|src)/.*(h|cc)|podioVersion.in.h)
language: system
- id: clang-format
name: clang-format
entry: .github/scripts/clang-format-hook
exclude: (tests/(datamodel|src)/.*(h|cc)$|podioVersion.in.h)
types: [c++]
language: system
- id: pylint
name: pylint
entry: 'pylint --rcfile=.github/scripts/pylint.rc --msg-template="{path}:{line}: [{msg_id}({symbol}), {obj}] {msg}"'
types: [python]
language: system
- id: flake8
name: flake8
entry: flake8
types: [python]
language: system