From eb7c5370823df596002fbe27ceed077992056d0c Mon Sep 17 00:00:00 2001 From: arnasbr Date: Thu, 12 Sep 2024 11:57:42 +0300 Subject: [PATCH] Improve mypy checking --- .github/workflows/ci.yml | 1 + pyproject.toml | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 74f04dc..ce58925 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -50,6 +50,7 @@ jobs: black . --check --diff - name: Type check with mypy run: | + mypy --install-types --non-interactive . mypy . - name: Test with pytest run: | diff --git a/pyproject.toml b/pyproject.toml index 191ee91..fa7eae4 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -58,7 +58,6 @@ extend-ignore = ["E203"] # See https://github.com/Py exclude = ["build/", "venv/", "traveltimepy/proto/"] [tool.mypy] -ignore_missing_imports = true exclude = "^(traveltimepy/proto/.*|build/.*|venv/.*)$" [[tool.mypy.overrides]]