mirror of
https://github.com/graphql-python/graphene-django.git
synced 2024-11-28 12:33:43 +03:00
Add pre-commit to dev-setup
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.
This commit is contained in:
parent
95a0642818
commit
c1a22bfd91
1
Makefile
1
Makefile
|
@ -6,6 +6,7 @@ help:
|
||||||
.PHONY: dev-setup ## Install development dependencies
|
.PHONY: dev-setup ## Install development dependencies
|
||||||
dev-setup:
|
dev-setup:
|
||||||
pip install -e ".[dev]"
|
pip install -e ".[dev]"
|
||||||
|
python -m pre_commit install
|
||||||
|
|
||||||
.PHONY: tests ## Run unit tests
|
.PHONY: tests ## Run unit tests
|
||||||
tests:
|
tests:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user