Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
mscheifer opened this issue Dec 2, 2024 · 1 comment
Open

Comments

@mscheifer
Copy link

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"
  |          ^^^^^
  |
@epage
Copy link
Collaborator

epage commented Dec 4, 2024

Huh, I can't think of a time where I've use one.

My next question is how far do we go in covering contractions and how do we enumerate them?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants