repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v6.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.6
hooks:
- id: remove-crlf
- id: remove-tabs
- repo: https://github.com/fsfe/reuse-tool.git
rev: v6.2.0
hooks:
- id: reuse-lint-file
- repo: https://github.com/commitizen-tools/commitizen.git
rev: v4.13.9
hooks:
- id: commitizen
stages: [commit-msg]
- repo: https://github.com/EmbarkStudios/cargo-deny
rev: 0.19.0
hooks:
- id: cargo-deny
- repo: local
hooks:
- id: rust-fmt
name: formatting of rust sources
language: system
types: [rust]
entry: rustfmt
args: ["--edition", "2024", "--config", "skip_children=true"]