From c8d1db72a8652f8110093d623febfad9a044e853 Mon Sep 17 00:00:00 2001 From: Stephen Finucane Date: Mon, 12 Feb 2018 11:48:33 +0000 Subject: [PATCH] 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 --- Makefile | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/Makefile b/Makefile index c6ce7fba8..04ec5be96 100644 --- a/Makefile +++ b/Makefile @@ -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