From 2ac3b121630482d04f54c3e6f74396f8b8520f21 Mon Sep 17 00:00:00 2001 From: Gguidini Date: Tue, 4 Jun 2024 19:18:13 +0200 Subject: [PATCH 1/2] chore: update mypy CI config --- .github/workflows/mypy.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/mypy.yml b/.github/workflows/mypy.yml index f5e880904..6f64cc969 100644 --- a/.github/workflows/mypy.yml +++ b/.github/workflows/mypy.yml @@ -11,4 +11,7 @@ on: jobs: patch-typing-check: name: Run Patch Type Check - uses: codecov/gha-workflows/.github/workflows/mypy.yml@v1.2.20 + uses: codecov/gha-workflows/.github/workflows/mypy.yml@00043f8fbe820934312f7fade4ea72ea92231b5e + with: + extra_config: "--explicit-package-bases" + From b8c6c97a1edb54877e61bd6df5139ddb5eaa8165 Mon Sep 17 00:00:00 2001 From: Gguidini Date: Thu, 6 Jun 2024 11:26:09 +0200 Subject: [PATCH 2/2] ignore test files --- mypy.ini | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/mypy.ini b/mypy.ini index afc27a8a2..4402d0ce5 100644 --- a/mypy.ini +++ b/mypy.ini @@ -4,4 +4,5 @@ disallow_untyped_defs = True ignore_missing_imports = True disable_error_code = attr-defined,import-untyped,name-defined -follow_imports = silent \ No newline at end of file +follow_imports = silent +exclude = test_.*\.py$ \ No newline at end of file