paperless-client/.pre-commit-config.yaml

40 lines
931 B
YAML
Raw Normal View History

2024-11-14 09:19:28 +01:00
# SPDX-FileCopyrightText: 2024 Tobias Schmidl
#
# SPDX-License-Identifier: AGPL-3.0-or-later
---
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
2024-11-14 10:29:39 +01:00
rev: v5.0.0
2024-11-14 09:19:28 +01:00
hooks:
- id: check-yaml
- id: end-of-file-fixer
- id: trailing-whitespace
- id: check-merge-conflict
- id: check-byte-order-marker
- repo: https://github.com/fsfe/reuse-tool
2024-11-14 10:29:39 +01:00
rev: v4.0.3
2024-11-14 09:19:28 +01:00
hooks:
- id: reuse
- repo: https://github.com/editorconfig-checker/editorconfig-checker.python
2024-11-14 10:29:39 +01:00
rev: '3.0.3'
2024-11-14 09:19:28 +01:00
hooks:
- id: editorconfig-checker
alias: ec
2024-11-14 10:29:39 +01:00
stages: [pre-commit]
2024-11-14 09:19:28 +01:00
- repo: https://github.com/compilerla/conventional-pre-commit
2024-11-14 10:29:39 +01:00
rev: v3.6.0
2024-11-14 09:19:28 +01:00
hooks:
- id: conventional-pre-commit
stages: [commit-msg]
- repo: https://github.com/igorshubovych/markdownlint-cli
2024-11-14 10:29:39 +01:00
rev: v0.42.0
2024-11-14 09:19:28 +01:00
hooks:
- id: markdownlint
- repo: https://github.com/koalaman/shellcheck-precommit
rev: v0.10.0
hooks:
- id: shellcheck
args: ["-x"]
...