From cb4a0acb242248846e2e5456c344e7a1b502d7ad Mon Sep 17 00:00:00 2001 From: kedhammar Date: Mon, 17 Jun 2024 15:39:28 +0200 Subject: [PATCH 1/2] fix mypy inclusivity --- .github/workflows/lint-code.yml | 2 +- VERSIONLOG.md | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/lint-code.yml b/.github/workflows/lint-code.yml index 0d67ba8b..55830a96 100644 --- a/.github/workflows/lint-code.yml +++ b/.github/workflows/lint-code.yml @@ -56,7 +56,7 @@ jobs: run: echo -e "y" | mypy --install-types **/*.py || exit 0 - name: mypy --> Static type checking # Configured in pyprojet.toml - run: mypy **/*.py + run: mypy . # Use pipreqs to check for missing dependencies pipreqs-check: diff --git a/VERSIONLOG.md b/VERSIONLOG.md index 066a8bd3..c83129a9 100644 --- a/VERSIONLOG.md +++ b/VERSIONLOG.md @@ -1,5 +1,9 @@ # TACA Version Log +## 20240617.1 + +Run mypy for entire repo regardless of depth. + ## 20240527.1 Use run-specific name to find Anglerfish samplesheet. From d203a097fb0b1ada19c2981c3ed9cf3c1c6168bf Mon Sep 17 00:00:00 2001 From: kedhammar Date: Mon, 17 Jun 2024 15:42:16 +0200 Subject: [PATCH 2/2] propagate change to stubs install --- .github/workflows/lint-code.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/lint-code.yml b/.github/workflows/lint-code.yml index 55830a96..d67c2eae 100644 --- a/.github/workflows/lint-code.yml +++ b/.github/workflows/lint-code.yml @@ -53,7 +53,7 @@ jobs: pip install mypy # Start by installing type stubs - name: mypy --> Install stubs - run: echo -e "y" | mypy --install-types **/*.py || exit 0 + run: echo -e "y" | mypy --install-types . || exit 0 - name: mypy --> Static type checking # Configured in pyprojet.toml run: mypy .