This repository has been archived on 2021-01-15. You can view files and clone it, but cannot push or open issues or pull requests.
precommit-example/.pre-commit-config.yaml
Matej Focko d4036c3ace Move rebase
Signed-off-by: Matej Focko <mfocko@redhat.com>
2021-01-15 14:59:06 +01:00

24 lines
691 B
YAML

# See https://pre-commit.com for more information
# See https://pre-commit.com/hooks.html for more hooks
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v3.2.0
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
- id: check-yaml
- id: check-added-large-files
- repo: https://github.com/packit/pre-commit-hooks
rev: master
hooks:
- id: check-rebase
args:
- https://git.mfocko.xyz/mfocko/precommit-example.git
stages: [manual, push]
- repo: local
hooks:
- id: formatting
name: format source
entry: make format
language: system
pass_filenames: false