mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
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:
parent
690714f4c4
commit
c8d1db72a8
16
Makefile
16
Makefile
@ -3,14 +3,6 @@ PYTHON ?= python
|
|||||||
.PHONY: all
|
.PHONY: all
|
||||||
all: clean-pyc clean-backupfiles style-check type-check test
|
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
|
.PHONY: clean
|
||||||
clean: clean-pyc clean-pycache clean-patchfiles clean-backupfiles clean-generated clean-testfiles clean-buildfiles clean-mypyfiles
|
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:
|
clean-mypyfiles:
|
||||||
rm -rf .mypy_cache/
|
rm -rf .mypy_cache/
|
||||||
|
|
||||||
|
.PHONY: style-check
|
||||||
|
style-check:
|
||||||
|
@flake8
|
||||||
|
|
||||||
|
.PHONY: type-check
|
||||||
|
type-check:
|
||||||
|
mypy sphinx/
|
||||||
|
|
||||||
.PHONY: pylint
|
.PHONY: pylint
|
||||||
pylint:
|
pylint:
|
||||||
@pylint --rcfile utils/pylintrc sphinx
|
@pylint --rcfile utils/pylintrc sphinx
|
||||||
|
Loading…
Reference in New Issue
Block a user