Skip to content
Snippets Groups Projects
.pre-commit-config.yaml 1023 B
Newer Older
Guilhem Saurel's avatar
Guilhem Saurel committed
ci:
Guilhem Saurel's avatar
Guilhem Saurel committed
  autoupdate_branch: devel
Guilhem Saurel's avatar
Guilhem Saurel committed
repos:
- repo: https://github.com/astral-sh/ruff-pre-commit
  hooks:
  - id: ruff
    args:
    - --fix
    - --exit-non-zero-on-fix
  - id: ruff-format
Guilhem Saurel's avatar
Guilhem Saurel committed
- repo: https://github.com/cheshirekow/cmake-format-precommit
  rev: v0.6.13
  hooks:
  - id: cmake-format
- repo: https://github.com/pappasam/toml-sort
  hooks:
  - id: toml-sort-fix
    exclude: poetry.lock
Guilhem Saurel's avatar
Guilhem Saurel committed
- repo: https://github.com/pre-commit/mirrors-clang-format
Guilhem Saurel's avatar
Guilhem Saurel committed
  hooks:
  - id: clang-format
    args:
    - --style=Google
- 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
  - 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