From c6cdb85d09ec2af4e0d345c58ad3ca0a0a13caa0 Mon Sep 17 00:00:00 2001 From: Matt Shaw Date: Thu, 17 Oct 2024 11:44:49 +0100 Subject: [PATCH] install type stubs first --- .github/workflows/python-app.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/python-app.yml b/.github/workflows/python-app.yml index c94d4da..6e4c790 100644 --- a/.github/workflows/python-app.yml +++ b/.github/workflows/python-app.yml @@ -31,7 +31,9 @@ jobs: - name: Check code for potential security vulnerabilities run: bandit -r . -x /tests - name: Static type checking - run: mypy . + run: | + mypy --install-types + mypy . - name: Check code formatting run: | black . -t py312 -l 120 --check