From 907538073c392dbeea9a8807c72f01349902033c Mon Sep 17 00:00:00 2001 From: Kyle Sunden Date: Wed, 11 Oct 2023 15:02:29 -0500 Subject: [PATCH] Backport PR #26943: ci: Run mypy against typed cycler --- .github/workflows/reviewdog.yml | 2 -- pyproject.toml | 1 - 2 files changed, 3 deletions(-) diff --git a/.github/workflows/reviewdog.yml b/.github/workflows/reviewdog.yml index dafc331a11eb..f9c1121581c0 100644 --- a/.github/workflows/reviewdog.yml +++ b/.github/workflows/reviewdog.yml @@ -65,9 +65,7 @@ jobs: REVIEWDOG_GITHUB_API_TOKEN: ${{ secrets.GITHUB_TOKEN }} run: | set -o pipefail - # The --ignore-missing-imports can be removed when typed cycler is released and used mypy --config pyproject.toml lib/matplotlib \ - --ignore-missing-imports \ --follow-imports silent | \ reviewdog -f=mypy -name=mypy \ -tee -reporter=github-check -filter-mode nofilter diff --git a/pyproject.toml b/pyproject.toml index 67f1805cda08..7131609c633a 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -143,7 +143,6 @@ exclude = [ # stubtest will import and run, opening a figure if not excluded ".*/tinypages", ] -ignore_missing_imports = true enable_incomplete_feature = [ "Unpack", ]