graphql-python / graphene-django

Build powerful, efficient, and flexible GraphQL APIs with seamless Django integration.
http://docs.graphene-python.org/projects/django/en/latest/
MIT License
4.31k stars 770 forks source link

Add pre-commit to dev-setup #1403

Closed sjdemartini closed 1 year ago

sjdemartini commented 1 year ago

pre-commit is currently configured nicely but hasn't been part of the Makefile setup and isn't mentioned in the contributing notes. This change makes it so that pre-commit is installed as a part of the dev setup, whereas before it had to be manually installed.

Let me know if we should start pinning the pre-commit version, and/or if this should be added to a separate Makefile task.