test: make mypy stricter, reorder checks

This commit is contained in:
riscy 2020-08-22 21:30:25 -07:00
parent 22a9e988fe
commit 2bfce129b7
2 changed files with 3 additions and 3 deletions

View file

@ -19,6 +19,6 @@ image:
.PHONY: test-melpazoid
test-melpazoid:
pytest --doctest-modules
mypy --ignore-missing-imports melpazoid
mypy --warn-return-any melpazoid
black -S --check .
pytest --doctest-modules

View file

@ -819,7 +819,7 @@ def run_build_script(script: str) -> str:
)
if result.returncode != 0:
raise ChildProcessError(result.stderr.decode())
return result.stdout.decode().strip()
return str(result.stdout.decode()).strip()
@functools.lru_cache()