From 4517475ebaa1a8435049985913c0cf185408af97 Mon Sep 17 00:00:00 2001 From: Jake Herrmann Date: Sat, 18 Jan 2025 10:13:41 -0900 Subject: [PATCH 1/2] upgrade to mypy action v0.15.0 --- .github/workflows/static-analysis.yml | 2 +- pyproject.toml | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/static-analysis.yml b/.github/workflows/static-analysis.yml index f3ea894..85be5c0 100644 --- a/.github/workflows/static-analysis.yml +++ b/.github/workflows/static-analysis.yml @@ -8,7 +8,7 @@ jobs: uses: ASFHyP3/actions/.github/workflows/reusable-ruff.yml@v0.14.0 call-mypy-workflow: - uses: ASFHyP3/actions/.github/workflows/reusable-mypy.yml@v0.14.0 + uses: ASFHyP3/actions/.github/workflows/reusable-mypy.yml@v0.15.0 cfn-lint: runs-on: ubuntu-latest diff --git a/pyproject.toml b/pyproject.toml index 9f6dddf..cdbfa58 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -37,3 +37,7 @@ warn_unused_ignores = true warn_unreachable = true strict_equality = true check_untyped_defs = true +install_types = true +non_interactive = true +pretty = true +disable_error_code = ["import-untyped"] From ae41498ea279aae2b7bbf7fc27486b0ee23296bf Mon Sep 17 00:00:00 2001 From: Jake Herrmann Date: Sat, 18 Jan 2025 10:17:13 -0900 Subject: [PATCH 2/2] ignore mypy cache --- .gitignore | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.gitignore b/.gitignore index 72364f9..9bf3a47 100644 --- a/.gitignore +++ b/.gitignore @@ -87,3 +87,6 @@ ENV/ # Rope project settings .ropeproject + +# mypy +.mypy_cache/