parse_suppressions uses line.find('#'), which can hit a # inside a string literal:
x: str = "#hash" # type: ignore
"type_ignores": [{"kind": "type", "codes": [], "location": {"line": 1, "column": 11}}]
Column 11 is the # in "#hash"; the comment starts at column 19. ignore.rs already has a
quote-aware find_comment_start.
parse_suppressionsusesline.find('#'), which can hit a#inside a string literal:Column 11 is the
#in"#hash"; the comment starts at column 19.ignore.rsalready has aquote-aware
find_comment_start.