.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.6
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
Guilhem Saurel's avatar
Guilhem Saurel committed
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
    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
28
    rev: 22.6.0
Guilhem Saurel's avatar
Guilhem Saurel committed
29
30
31
32
33
34
    hooks:
    -   id: black
-   repo: https://github.com/PyCQA/flake8
    rev: 4.0.1
    hooks:
    -   id: flake8