I am trying to set up a pre-push hook using pre-commit https://pre-commit.com/ when i make a pre-commit hook it works fine like before commit all the checks work but in case of push no hook runs This is how my .pre-commit-config-yaml looks like in case of push
- repo: local
hooks:
- id: Test
name: Test
stages: [push]
entry: python3 test.py
language: system
types: [python]
Does anyone know what am doing wrong?