Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Jun 24, 2023
1 parent 12cc931 commit 5955f2b
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions mypy/messages.py
Original file line number Diff line number Diff line change
Expand Up @@ -1108,11 +1108,7 @@ def wrong_number_values_to_unpack(
)

def unpacking_strings_disallowed(self, context: Context) -> None:
self.fail(
"Unpacking a string is disallowed",
context,
code=codes.STR_UNPACKING,
)
self.fail("Unpacking a string is disallowed", context, code=codes.STR_UNPACKING)

def type_not_iterable(self, type: Type, context: Context) -> None:
self.fail(f"{format_type(type, self.options)} object is not iterable", context)
Expand Down

0 comments on commit 5955f2b

Please sign in to comment.