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 Aug 5, 2024
1 parent 9a43f2e commit 4c33050
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion mypy/checkmember.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
freshen_all_functions_type_vars,
)
from mypy.maptype import map_instance_to_supertype
from mypy import errorcodes as codes
from mypy.messages import MessageBuilder
from mypy.nodes import (
ARG_POS,
Expand Down
2 changes: 1 addition & 1 deletion mypy/messages.py
Original file line number Diff line number Diff line change
Expand Up @@ -932,7 +932,7 @@ def readonly_keys_mutated(self, keys: set[str], context: Context) -> None:
else:
suffix = "are"
self.fail(
"ReadOnly {} TypedDict {} mutated".format(format_key_list(list(sorted(keys))), suffix),
"ReadOnly {} TypedDict {} mutated".format(format_key_list(sorted(keys)), suffix),
code=codes.TYPEDDICT_READONLY_MUTATED,
context=context,
)
Expand Down

0 comments on commit 4c33050

Please sign in to comment.