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.
1 parent 989c9f3 commit c375805Copy full SHA for c375805
mypy/plugins/attrs.py
@@ -1032,7 +1032,7 @@ def _get_attrs_init_type(typ: Instance) -> CallableType | None:
1032
init_method = typ.type.get_method("__init__") or typ.type.get_method(ATTRS_INIT_NAME)
1033
if init_method is None:
1034
return None
1035
-
+
1036
# case 1: normal FuncDef
1037
if isinstance(init_method, FuncDef) and isinstance(init_method.type, CallableType):
1038
return init_method.type
0 commit comments