Skip to content

Identifiers without apostrophes shouldn't be marked as misspelled #1167

@mscheifer

Description

@mscheifer

Words in identifiers without apostrophes shouldn't be marked as misspelled if the apostrophe is not a legal character in identifiers in the language.

typo-test.py

the_word_youre = "you're"
$ typos typo-test.py 
error: `youre` should be `your`
  --> typo-test.py:1:10
  |
1 | the_word_youre = "you're"
  |          ^^^^^
  |

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions