Skip to content

Commit 8ea785f

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

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

mypy/semanal_enum.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,9 @@ class A(enum.Enum):
104104
if fullname not in ENUM_BASES:
105105
return None
106106

107-
new_class_name, items, values, ok = self.parse_enum_call_args(call, fullname.split(".")[-1])
107+
new_class_name, items, values, ok = self.parse_enum_call_args(
108+
call, fullname.split(".")[-1]
109+
)
108110
if not ok:
109111
# Error. Construct dummy return value.
110112
name = var_name

0 commit comments

Comments
 (0)