summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile34
1 files changed, 1 insertions, 33 deletions
diff --git a/Makefile b/Makefile
index a20df8f39..ce5bf096a 100644
--- a/Makefile
+++ b/Makefile
@@ -3,42 +3,10 @@ PYTHON ?= python
.PHONY: all style-check type-check clean clean-pyc clean-patchfiles clean-backupfiles \
clean-generated pylint reindent test covertest build
-DONT_CHECK = -i .ropeproject \
- -i .tox \
- -i build \
- -i dist \
- -i doc/_build \
- -i sphinx/pycode/pgen2 \
- -i sphinx/search/da.py \
- -i sphinx/search/de.py \
- -i sphinx/search/en.py \
- -i sphinx/search/es.py \
- -i sphinx/search/fi.py \
- -i sphinx/search/fr.py \
- -i sphinx/search/hu.py \
- -i sphinx/search/it.py \
- -i sphinx/search/ja.py \
- -i sphinx/search/nl.py \
- -i sphinx/search/no.py \
- -i sphinx/search/pt.py \
- -i sphinx/search/ro.py \
- -i sphinx/search/ru.py \
- -i sphinx/search/sv.py \
- -i sphinx/search/tr.py \
- -i sphinx/style/jquery.js \
- -i sphinx/util/smartypants.py \
- -i tests/build \
- -i tests/path.py \
- -i tests/roots/test-directive-code/target.py \
- -i tests/roots/test-warnings/undecodable.rst \
- -i tests/test_autodoc_py35.py \
- -i tests/typing_test_data.py \
- -i utils/convert.py
-
all: clean-pyc clean-backupfiles style-check type-check test
style-check:
- @PYTHONWARNINGS=all $(PYTHON) utils/check_sources.py $(DONT_CHECK) .
+ @flake8
type-check:
mypy sphinx/