Skip to content

Commit c375805

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

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
@@ -1032,7 +1032,7 @@ def _get_attrs_init_type(typ: Instance) -> CallableType | None:
10321032
init_method = typ.type.get_method("__init__") or typ.type.get_method(ATTRS_INIT_NAME)
10331033
if init_method is None:
10341034
return None
1035-
1035+
10361036
# case 1: normal FuncDef
10371037
if isinstance(init_method, FuncDef) and isinstance(init_method.type, CallableType):
10381038
return init_method.type

0 commit comments

Comments
 (0)