From a25651785831adc73f87a9f66f3365c5570eff35 Mon Sep 17 00:00:00 2001 From: Nigel Date: Sat, 23 Nov 2024 20:02:24 +0000 Subject: [PATCH] Disallow untyped defs in mypy check --- .github/workflows/python-app.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/python-app.yml b/.github/workflows/python-app.yml index 76151806..dc47b3a9 100644 --- a/.github/workflows/python-app.yml +++ b/.github/workflows/python-app.yml @@ -43,8 +43,8 @@ jobs: poetry run python -m sphinx -M coverage docs docs/build -W - name: Static type check with mypy run: | - poetry run mypy -p guiguts - poetry run mypy tests + poetry run mypy --disallow-untyped-defs -p guiguts + poetry run mypy --disallow-untyped-defs tests - name: Test with pytest run: | poetry run pytest