make: Group test commands together

We may want to eventually deprecate these in favour of 'tox', but this
cleans things up a little until then.

Signed-off-by: Stephen Finucane <stephen@that.guru>
This commit is contained in:
Stephen Finucane 2018-02-12 11:48:33 +00:00
parent 690714f4c4
commit c8d1db72a8

View File

@ -3,14 +3,6 @@ PYTHON ?= python
.PHONY: all
all: clean-pyc clean-backupfiles style-check type-check test
.PHONY: style-check
style-check:
@flake8
.PHONY: type-check
type-check:
mypy sphinx/
.PHONY: clean
clean: clean-pyc clean-pycache clean-patchfiles clean-backupfiles clean-generated clean-testfiles clean-buildfiles clean-mypyfiles
@ -59,6 +51,14 @@ clean-buildfiles:
clean-mypyfiles:
rm -rf .mypy_cache/
.PHONY: style-check
style-check:
@flake8
.PHONY: type-check
type-check:
mypy sphinx/
.PHONY: pylint
pylint:
@pylint --rcfile utils/pylintrc sphinx