Move rebase check from pre-commit to pre-push hook
# HOWTO: https://pre-commit.com/#usage
# pip3 install pre-commit
-# pre-commit install
+# pre-commit install -t pre-commit -t pre-push
repos:
- repo: https://github.com/psf/black
@@ -11,8 +11,8 @@ repos:
rev: v2.7.4
hooks:
- id: pyupgrade
- - repo: https://github.com/prettier/pre-commit
- rev: v2.2.0
+ - repo: https://github.com/pre-commit/mirrors-prettier
+ rev: v2.2.1
hooks:
- id: prettier
exclude: tests_recording/test_data/*
@@ -46,3 +46,4 @@ repos:
- id: check-rebase
args:
- git://github.com/packit-service/packit.git
+ stages: [manual, push]
