2022-12-01 17:50:41 +00:00
|
|
|
default_stages:
|
2022-12-01 18:57:29 +00:00
|
|
|
- merge-commit
|
|
|
|
- push
|
2022-12-01 17:50:41 +00:00
|
|
|
|
|
|
|
repos:
|
2022-12-01 18:57:29 +00:00
|
|
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
|
|
|
rev: v4.3.0
|
|
|
|
hooks:
|
|
|
|
- id: end-of-file-fixer
|
|
|
|
stages: [merge-commit, push]
|
|
|
|
- id: trailing-whitespace
|
|
|
|
stages: [merge-commit, push]
|
|
|
|
- id: check-merge-conflict
|
|
|
|
- repo: local
|
|
|
|
hooks:
|
|
|
|
- id: lint
|
|
|
|
name: lint
|
|
|
|
entry: task lint:fix --
|
|
|
|
language: system
|
|
|
|
files: ""
|