Skip to content

Commit 6382550

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 83feade commit 6382550

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mypy/plugins/attrs.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1037,7 +1037,7 @@ def _get_attrs_init_type(typ: Instance) -> CallableType | None | AnyType:
10371037
if getattr(init_method, "plugin_generated", False):
10381038
return init_method.type
10391039
else:
1040-
return AnyType(TypeOfAny.special_form)
1040+
return AnyType(TypeOfAny.special_form)
10411041

10421042
# case 2: overloaded method
10431043
if isinstance(init_method, OverloadedFuncDef) and isinstance(init_method.type, Overloaded):

0 commit comments

Comments
 (0)