From 2d58e70b3b4ec5bc6b7606f26ca4c1852cfaa9a0 Mon Sep 17 00:00:00 2001 From: Jarek Potiuk Date: Sat, 25 Nov 2023 21:21:24 +0100 Subject: [PATCH] Disable mypy check for referencing package (#35850) The package uses some ignores that use old MyPy check names and generate syntax error, so we have to disable it to unblock mypy failures in main/new dependencies. --- setup.cfg | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/setup.cfg b/setup.cfg index cfde203f4377d..4f7144ca5d92c 100644 --- a/setup.cfg +++ b/setup.cfg @@ -229,3 +229,8 @@ no_implicit_optional = False # Let's assume all azure packages have implicit optionals [mypy-azure.*] no_implicit_optional = False + + +[mypy-referencing.*] +# Referencing has some old type annotations that are not compatible with new versions of mypy +ignore_errors = True