We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 6f8b2d2 + 4373e05 commit 6cbfd18Copy full SHA for 6cbfd18
mypy/checkmember.py
@@ -1225,6 +1225,9 @@ def analyze_class_attribute_access(
1225
is_classmethod = (is_decorated and cast(Decorator, node.node).func.is_class) or (
1226
isinstance(node.node, SYMBOL_FUNCBASE_TYPES) and node.node.is_class
1227
)
1228
+ is_staticmethod = (is_decorated and cast(Decorator, node.node).func.is_static) or (
1229
+ isinstance(node.node, SYMBOL_FUNCBASE_TYPES) and node.node.is_static
1230
+ )
1231
t = get_proper_type(t)
1232
is_trivial_self = False
1233
if isinstance(node.node, Decorator):
0 commit comments