Skip to content

Commit cf00290

Browse files
committed
Update Makefile and setup.cfg
1 parent 17dc218 commit cf00290

2 files changed

Lines changed: 8 additions & 4 deletions

File tree

Makefile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,17 +16,17 @@ all: lint type test dist doc
1616

1717
req:
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
2020
ifneq ($(strip $(AUDITWHEEL)),)
21-
$(PYTHON) -m pip install --quiet auditwheel
21+
$(PYTHON) -m pip install --quiet --upgrade auditwheel
2222
endif
2323

2424
lint:
25-
$(PYTHON) -m flake8 --doctests $(PYROOTDIR)
25+
$(PYTHON) -m flake8 $(PYROOTDIR)
2626

2727
type:
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

3131
test:
3232
$(PYTHON) -m pip install --quiet --force-reinstall --no-index --find-links=$(WHEEL_OUTDIR) softfloatpy

setup.cfg

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,10 @@ doc = sphinx; sphinx-rtd-theme; myst-parser
2828

2929
[flake8]
3030
ignore = E501, E741, W504
31+
doctests = true
3132

3233
[mypy]
3334
exclude = python/docs/
35+
enable_error_code = ignore-without-code
36+
warn_unused_configs = true
37+
strict = true

0 commit comments

Comments
 (0)