mirror of
https://github.com/graphql-python/graphene.git
synced 2025-07-04 04:13:10 +03:00
Have pre-commit run as part of running tests via tox
This commit is contained in:
parent
e239e685f1
commit
3d5e293296
4
Makefile
4
Makefile
|
@ -4,12 +4,12 @@ REBUILD_FLAG =
|
||||||
all: venv test
|
all: venv test
|
||||||
|
|
||||||
.PHONY: venv
|
.PHONY: venv
|
||||||
venv: .venv.touch
|
venv: .venv.touch install-hooks
|
||||||
tox -e venv $(REBUILD_FLAG)
|
tox -e venv $(REBUILD_FLAG)
|
||||||
|
|
||||||
.PHONY: tests test
|
.PHONY: tests test
|
||||||
tests: test
|
tests: test
|
||||||
test: .venv.touch
|
test: .venv.touch install-hooks
|
||||||
tox $(REBUILD_FLAG)
|
tox $(REBUILD_FLAG)
|
||||||
|
|
||||||
.venv.touch: setup.py requirements-dev.txt
|
.venv.touch: setup.py requirements-dev.txt
|
||||||
|
|
Loading…
Reference in New Issue
Block a user