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

[spelling] Ignore spelling in type/mypy type ignore comments #8370

Merged

Conversation

Pierre-Sassoulas
Copy link
Member

Type of Changes

Type
βœ“ πŸ› Bug fix

Description

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.

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.
@Pierre-Sassoulas Pierre-Sassoulas added False Positive 🦟 A message is emitted but nothing is wrong with the code backport maintenance/2.16.x labels Mar 2, 2023
@Pierre-Sassoulas Pierre-Sassoulas added this to the 2.16.3 milestone Mar 2, 2023
@codecov
Copy link

codecov bot commented Mar 2, 2023

Codecov Report

Merging #8370 (f8a2de8) into main (61844d8) will decrease coverage by 0.01%.
The diff coverage is 100.00%.

❗ Current head f8a2de8 differs from pull request most recent head 9c3b45f. Consider uploading reports for the commit 9c3b45f to get more accurate results

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #8370      +/-   ##
==========================================
- Coverage   95.56%   95.56%   -0.01%     
==========================================
  Files         178      178              
  Lines       18766    18762       -4     
==========================================
- Hits        17933    17929       -4     
  Misses        833      833              
Impacted Files Coverage Ξ”
pylint/checkers/spelling.py 85.79% <100.00%> (-0.31%) ⬇️

@github-actions

This comment has been minimized.

@Pierre-Sassoulas Pierre-Sassoulas removed the request for review from DanielNoord March 2, 2023 18:28
@github-actions
Copy link
Contributor

github-actions bot commented Mar 2, 2023

πŸ€– According to the primer, this change has no effect on the checked open source code. πŸ€–πŸŽ‰

This comment was generated for commit 9c3b45f

@Pierre-Sassoulas Pierre-Sassoulas merged commit b5aab35 into pylint-dev:main Mar 2, 2023
@Pierre-Sassoulas Pierre-Sassoulas deleted the spelling-in-type-comment branch March 2, 2023 20:18
github-actions bot pushed a commit that referenced this pull request Mar 2, 2023
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 added a commit that referenced this pull request Mar 2, 2023
…8373)

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)

Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Backported 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

2 participants