Initial skeleton
This commit is contained in:
commit
cc1a66726e
14 changed files with 1044 additions and 0 deletions
41
.pre-commit-config.yaml
Normal file
41
.pre-commit-config.yaml
Normal file
|
@ -0,0 +1,41 @@
|
|||
# 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"]
|
Loading…
Add table
Add a link
Reference in a new issue