.pre-commit-config.yaml 890 Bytes
Newer Older
Guilhem Saurel's avatar
Guilhem Saurel committed
1
2
3
4
ci:
    autoupdate_branch: 'devel'
repos:
-   repo: https://github.com/pre-commit/mirrors-clang-format
5
    rev: v14.0.5
Guilhem Saurel's avatar
Guilhem Saurel committed
6
7
    hooks:
    -   id: clang-format
Guilhem Saurel's avatar
Guilhem Saurel committed
8
        args: [--style=Google]
Guilhem Saurel's avatar
Guilhem Saurel committed
9
-   repo: https://github.com/pre-commit/pre-commit-hooks
10
    rev: v4.3.0
Guilhem Saurel's avatar
Guilhem Saurel committed
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
    hooks:
    -   id: check-added-large-files
    -   id: check-ast
    -   id: check-executables-have-shebangs
    -   id: check-json
    -   id: check-merge-conflict
    -   id: check-symlinks
    -   id: check-toml
    -   id: check-yaml
    -   id: debug-statements
    -   id: destroyed-symlinks
    -   id: detect-private-key
    -   id: end-of-file-fixer
    -   id: fix-byte-order-marker
    -   id: mixed-line-ending
    -   id: trailing-whitespace
-   repo: https://github.com/psf/black
    rev: 22.3.0
    hooks:
    -   id: black
-   repo: https://github.com/PyCQA/flake8
    rev: 4.0.1
    hooks:
    -   id: flake8