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

24 lines
660 B
YAML
Raw Normal View History

# 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
- repo: local
hooks:
- id: formatting
name: format source
entry: make format
language: system
pass_filenames: false