summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorStephen Finucane <stephen@that.guru>2018-02-12 11:48:33 +0000
committerStephen Finucane <stephen@that.guru>2018-02-12 11:52:53 +0000
commitc8d1db72a8652f8110093d623febfad9a044e853 (patch)
treefdebc964d5c4720514510b9758ade45a94b87564 /Makefile
parent690714f4c483d071c6204a85493a032627a04dd9 (diff)
downloadsphinx-git-c8d1db72a8652f8110093d623febfad9a044e853.tar.gz
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>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile16
1 files 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