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

Apply mypy linter in pre-commit #21

Closed schafezp closed 6 years ago

schafezp commented 6 years ago

Modify dev_setup.sh to also setup a pre-commit hook which runs a mypy linter.

This hook could later be modified to run pylint. Additionally the pre-commit hook can later be written in python rather than shell scripts to help with cross platform support.