schafezp / karmabot

A telegram bot designed for group chats to allow users to upvote and downvote content similar to reddit.
https://schafezp.github.io/karmabot/
MIT License
6 stars 1 forks source link

Run linters on push not on commit #25

Closed schafezp closed 6 years ago

schafezp commented 6 years ago

It is frustrating to have to appease mypy/pylint whenever a commit is made. Instead only a push should be stopped so source code stored on the main repo is high quality.

schafezp commented 6 years ago

https://stackoverflow.com/questions/10864903/does-github-allow-pre-receive-hooks

Apparently there is no pre-recieve on regular github but pre-push can be used.