From d2b092db5f73cab0c56eec53f51519497cdde7c8 Mon Sep 17 00:00:00 2001 From: Anderson Bravalheri Date: Tue, 7 May 2024 19:02:27 +0100 Subject: [PATCH] Add exception to mypy.ini --- mypy.ini | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/mypy.ini b/mypy.ini index 45671826b1..9fab958288 100644 --- a/mypy.ini +++ b/mypy.ini @@ -34,3 +34,8 @@ ignore_missing_imports = True # - setuptools._vendor.packaging._manylinux: Mypy issue, this vendored module is already excluded! [mypy-pkg_resources.tests.*,setuptools._vendor.packaging._manylinux,setuptools.config._validate_pyproject.*] disable_error_code = import-not-found + +# - The unused-ignore comment in setuptools.config._validate_pyproject.* is probably evaluated differently +# in different versions of Python. Also, this file should already be ignored... +[mypy-setuptools.config._validate_pyproject.*] +disable_error_code = unused-ignore