Skip to content
Snippets Groups Projects
.pre-commit-config.yaml 933 B
Newer Older
Guilhem Saurel's avatar
Guilhem Saurel committed
exclude: tests/test_python-syntax_error.py
Guilhem Saurel's avatar
Guilhem Saurel committed
ci:
    autoupdate_branch: 'devel'
Guilhem Saurel's avatar
Guilhem Saurel committed
repos:
-   repo: https://github.com/pre-commit/mirrors-clang-format
Guilhem Saurel's avatar
Guilhem Saurel committed
    hooks:
    -   id: clang-format
Guilhem Saurel's avatar
Guilhem Saurel committed
        args: [--style=Google]
Guilhem Saurel's avatar
Guilhem Saurel committed
-   repo: https://github.com/pre-commit/pre-commit-hooks
Guilhem Saurel's avatar
Guilhem Saurel committed
    hooks:
    -   id: check-added-large-files
    -   id: check-ast
Guilhem Saurel's avatar
Guilhem Saurel committed
    -   id: check-executables-have-shebangs
    -   id: check-json
Guilhem Saurel's avatar
Guilhem Saurel committed
    -   id: check-merge-conflict
    -   id: check-symlinks
    -   id: check-toml
    -   id: check-yaml
    -   id: debug-statements
Guilhem Saurel's avatar
Guilhem Saurel committed
    -   id: destroyed-symlinks
Guilhem Saurel's avatar
Guilhem Saurel committed
    -   id: detect-private-key
    -   id: end-of-file-fixer
Guilhem Saurel's avatar
Guilhem Saurel committed
    -   id: fix-byte-order-marker
Guilhem Saurel's avatar
Guilhem Saurel committed
    -   id: mixed-line-ending
    -   id: trailing-whitespace
-   repo: https://github.com/psf/black
Guilhem Saurel's avatar
Guilhem Saurel committed
    hooks:
    -   id: black
-   repo: https://github.com/PyCQA/flake8
Guilhem Saurel's avatar
Guilhem Saurel committed
    hooks:
    -   id: flake8