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