From c8c9901e60fb358d3a3607fbf4c1da1bed42a249 Mon Sep 17 00:00:00 2001 From: Marc Mueller <30130371+cdce8p@users.noreply.github.com> Date: Wed, 15 Jan 2025 03:03:52 +0100 Subject: [PATCH] Ignore PEP 649 + 695 implementation details in stubtest --- mypy/stubtest.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/mypy/stubtest.py b/mypy/stubtest.py index 5d19c4777916a..d3553625799a8 100644 --- a/mypy/stubtest.py +++ b/mypy/stubtest.py @@ -1482,6 +1482,8 @@ def verify_typealias( "__vectorcalloffset__", # undocumented implementation detail of the vectorcall protocol "__firstlineno__", "__static_attributes__", + "__annotate__", + "__classdictcell__", # isinstance/issubclass hooks that type-checkers don't usually care about "__instancecheck__", "__subclasshook__",