From 4ea096358e0317d100a50145d16e19f2c7ec0e46 Mon Sep 17 00:00:00 2001 From: Steffen Christgau Date: Sat, 5 Oct 2024 17:47:37 +0200 Subject: [PATCH] refactor(workflows): remove redundant mypy test definitions (reuse shell script) --- .github/workflows/static-analyses.yml | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/.github/workflows/static-analyses.yml b/.github/workflows/static-analyses.yml index 904b465..f692f55 100644 --- a/.github/workflows/static-analyses.yml +++ b/.github/workflows/static-analyses.yml @@ -30,10 +30,5 @@ jobs: - name: mypy type check run: | - pip install mypy==0.910 - mypy --python-version=3.7 src/wsdd.py - mypy --python-version=3.8 src/wsdd.py - mypy --python-version=3.9 src/wsdd.py - mypy --python-version=3.10 src/wsdd.py - mypy --python-version=3.11 src/wsdd.py - mypy --python-version=3.12 src/wsdd.py + pip install mypy==1.0 + test/linting/mypy.sh