File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -16,17 +16,17 @@ all: lint type test dist doc
1616
1717req :
1818 $(PYTHON ) -m pip install --quiet --upgrade pip
19- $(PYTHON ) -m pip install --quiet setuptools wheel build cython pytest mypy flake8 sphinx sphinx-rtd-theme myst-parser
19+ $(PYTHON ) -m pip install --quiet --upgrade setuptools wheel build cython pytest mypy flake8 sphinx sphinx-rtd-theme myst-parser
2020ifneq ($(strip $(AUDITWHEEL ) ) ,)
21- $(PYTHON) -m pip install --quiet auditwheel
21+ $(PYTHON) -m pip install --quiet --upgrade auditwheel
2222endif
2323
2424lint :
25- $(PYTHON ) -m flake8 --doctests $(PYROOTDIR )
25+ $(PYTHON ) -m flake8 $(PYROOTDIR )
2626
2727type :
2828 $(PYTHON ) -m pip install --quiet --force-reinstall --no-index --find-links=$(WHEEL_OUTDIR ) softfloatpy
29- $(PYTHON ) -m mypy --strict $(PYROOTDIR )
29+ $(PYTHON ) -m mypy $(PYROOTDIR )
3030
3131test :
3232 $(PYTHON ) -m pip install --quiet --force-reinstall --no-index --find-links=$(WHEEL_OUTDIR ) softfloatpy
Original file line number Diff line number Diff line change @@ -28,6 +28,10 @@ doc = sphinx; sphinx-rtd-theme; myst-parser
2828
2929[flake8]
3030ignore = E501, E741, W504
31+ doctests = true
3132
3233[mypy]
3334exclude = python/docs/
35+ enable_error_code = ignore-without-code
36+ warn_unused_configs = true
37+ strict = true
You can’t perform that action at this time.
0 commit comments