Update comments after # type: ignore to be compatible with PEP 484

This commit is contained in:
jack1142
2022-03-28 04:26:34 +02:00
committed by GitHub
parent 0bcb0d0e3c
commit 5ffa3e85de
25 changed files with 68 additions and 68 deletions

View File

@ -181,7 +181,7 @@ class StringView:
next_char = self.get()
valid_eof = not next_char or next_char.isspace()
if not valid_eof:
raise InvalidEndOfQuotedStringError(next_char) # type: ignore - this will always be a string
raise InvalidEndOfQuotedStringError(next_char) # type: ignore # this will always be a string
# we're quoted so it's okay
return ''.join(result)