# SPDX-FileCopyrightText: none
# SPDX-License-Identifier: CC0-1.0
# See https://pre-commit.com for more information
# See https://pre-commit.com/hooks.html for more hooks

exclude: (^po/|.desktop|Messages.sh)
repos:
 - repo: https://github.com/BlankSpruce/gersemi
   rev: 0.25.4
   hooks:
    - id: gersemi
 - repo: https://github.com/pre-commit/pre-commit-hooks
   rev: v6.0.0
   hooks:
    - id: check-xml
    - id: check-yaml
      args: [--allow-multiple-documents]
      exclude: ^(.clang-tidy)
    - id: check-json
 - repo: https://github.com/pre-commit/mirrors-clang-format
   rev: v22.1.5
   hooks:
    - id: clang-format
    # force using this project's configuration rather
    # than the one provided by CI
      args: ["--style=file:.clang-format-pre-commit"]    
