sysroot-cleaner/.pre-commit-config.yaml

42 lines
1.0 KiB
YAML

# SPDX-FileCopyrightText: Matteo Settenvini <matteo.settenvini@montecristosoftware.eu>
# 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
- 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.1.0
hooks:
- id: commitizen
stages: [commit-msg]
- repo: local
hooks:
- id: rust-fmt
name: formatting of rust sources
language: system
types: [rust]
entry: rustfmt
args: ["--edition", "2021", "--config", "skip_children=true"]