You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ambiguous-unicode-character-string (RUF001) reports one violation per level of nested quotes for a string in a typing context. This is redundant: it should only report one violation for any given character.
$ cat >ruf001.py <<'# EOF'from typing import Literalx: '''"""'Literal["ﮨ"]'"""'''
# EOF
$ ruff check --isolated --select RUF001 ruf001.py --output-format conciseruf001.py:2:20: RUF001 String contains ambiguous `ﮨ` (ARABIC LETTER HEH GOAL INITIAL FORM). Did you mean `o` (LATIN SMALL LETTER O)?ruf001.py:2:20: RUF001 String contains ambiguous `ﮨ` (ARABIC LETTER HEH GOAL INITIAL FORM). Did you mean `o` (LATIN SMALL LETTER O)?ruf001.py:2:20: RUF001 String contains ambiguous `ﮨ` (ARABIC LETTER HEH GOAL INITIAL FORM). Did you mean `o` (LATIN SMALL LETTER O)?ruf001.py:2:20: RUF001 String contains ambiguous `ﮨ` (ARABIC LETTER HEH GOAL INITIAL FORM). Did you mean `o` (LATIN SMALL LETTER O)?Found 4 errors.
The text was updated successfully, but these errors were encountered:
Description
ambiguous-unicode-character-string
(RUF001) reports one violation per level of nested quotes for a string in a typing context. This is redundant: it should only report one violation for any given character.The text was updated successfully, but these errors were encountered: