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

[Backport maintenance/2.16.x] [spelling] Ignore spelling in type/mypy type ignore comments #8373

Merged

Conversation

github-actions[bot]
Copy link
Contributor

@github-actions github-actions bot commented Mar 2, 2023

Backport b5aab35 from #8370.

enchant does not understand class name well enough so it creates false
positives, and mypy type ignore comments with additional text are
a syntax error anyway, so raising a spelling mistakes for it is not
really important.

(cherry picked from commit b5aab35)
@Pierre-Sassoulas Pierre-Sassoulas added this to the 2.16.3 milestone Mar 2, 2023
@Pierre-Sassoulas Pierre-Sassoulas added the False Positive 🦟 A message is emitted but nothing is wrong with the code label Mar 2, 2023
@codecov
Copy link

codecov bot commented Mar 2, 2023

Codecov Report

Merging #8373 (8d62f40) into maintenance/2.16.x (71cdb25) will decrease coverage by 0.01%.
The diff coverage is 100.00%.

Additional details and impacted files

Impacted file tree graph

@@                  Coverage Diff                   @@
##           maintenance/2.16.x    #8373      +/-   ##
======================================================
- Coverage               95.53%   95.53%   -0.01%     
======================================================
  Files                     177      177              
  Lines                   18646    18642       -4     
======================================================
- Hits                    17814    17810       -4     
  Misses                    832      832              
Impacted Files Coverage Δ
pylint/checkers/spelling.py 77.60% <100.00%> (-0.46%) ⬇️

@Pierre-Sassoulas Pierre-Sassoulas merged commit 3dfa14f into maintenance/2.16.x Mar 2, 2023
@Pierre-Sassoulas Pierre-Sassoulas deleted the backport-8370-to-maintenance/2.16.x branch March 2, 2023 20:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
False Positive 🦟 A message is emitted but nothing is wrong with the code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant