# SPDX-FileCopyrightText: Matteo Settenvini # SPDX-License-Identifier: CC0-1.0 repos: - repo: https://github.com/pre-commit/pre-commit-hooks rev: v5.0.0 hooks: - id: check-merge-conflict - id: check-shebang-scripts-are-executable - id: check-toml - id: check-yaml - id: debug-statements - id: end-of-file-fixer - id: fix-byte-order-marker - id: trailing-whitespace - repo: https://github.com/Lucas-C/pre-commit-hooks.git rev: v1.5.5 hooks: - id: remove-crlf - id: remove-tabs exclude: | (?x)^( .*\.min\.js )$ - repo: https://github.com/fsfe/reuse-tool.git rev: v5.0.2 hooks: - id: reuse - repo: https://github.com/commitizen-tools/commitizen.git rev: v4.2.2 hooks: - id: commitizen - id: commitizen-branch stages: [pre-push] - repo: local hooks: - id: rust-fmt name: formatting of rust sources language: system types: [rust] entry: rustfmt args: ["--edition", "2024", "--config", "skip_children=true"]