Skip to content

Commit 725377d

Browse files
author
Kacper Szmigiel
committed
unused type ignore comment
1 parent dae217a commit 725377d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mypy_django_plugin/lib/helpers.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ def copy_method_to_another_class(
136136
method_node.arguments[1:]):
137137
bound_arg_type = self.semanal_api.anal_type(arg_type, allow_placeholder=True)
138138
if bound_arg_type is None and not self.defer_till_next_iteration(reason='bound_arg_type is None'):
139-
error_msg = 'of {} argument of {}'.format(arg_name, method_node.fullname) # type: ignore
139+
error_msg = 'of {} argument of {}'.format(arg_name, method_node.fullname)
140140
raise new_helpers.TypeInfoNotFound(error_msg)
141141

142142
assert bound_arg_type is not None

0 commit comments

Comments
 (0)