This is an automated email from the ASF dual-hosted git repository.
husseinawala pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/airflow.git
The following commit(s) were added to refs/heads/main by this push:
new 2d58e70b3b Disable mypy check for referencing package (#35850)
2d58e70b3b is described below
commit 2d58e70b3b4ec5bc6b7606f26ca4c1852cfaa9a0
Author: Jarek Potiuk <[email protected]>
AuthorDate: Sat Nov 25 21:21:24 2023 +0100
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 cfde203f43..4f7144ca5d 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