mirror of
https://github.com/vale981/melpazoid
synced 2025-03-05 17:31:38 -05:00
test: make mypy stricter, reorder checks
This commit is contained in:
parent
22a9e988fe
commit
2bfce129b7
2 changed files with 3 additions and 3 deletions
4
Makefile
4
Makefile
|
@ -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
|
||||
|
|
|
@ -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()
|
||||
|
|
Loading…
Add table
Reference in a new issue