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.17.x] fix(inconsistent-return-statements): Fix false positive due to pylint not seeing that a method returns NoReturn #8761

Merged

Conversation

github-actions[bot]
Copy link
Contributor

Backport 8614ccf from #8750.

…`NoReturn` (#8750)

Allow inspection of BoundMethod when checking if annotated as NoReturn

(cherry picked from commit 8614ccf)
@Pierre-Sassoulas Pierre-Sassoulas added this to the 2.17.5 milestone Jun 12, 2023
@codecov
Copy link

codecov bot commented Jun 12, 2023

Codecov Report

Merging #8761 (9ef76ca) into maintenance/2.17.x (b59dfea) will not change coverage.
The diff coverage is 100.00%.

Additional details and impacted files

Impacted file tree graph

@@                 Coverage Diff                 @@
##           maintenance/2.17.x    #8761   +/-   ##
===================================================
  Coverage               95.56%   95.56%           
===================================================
  Files                     178      178           
  Lines                   18817    18817           
===================================================
  Hits                    17983    17983           
  Misses                    834      834           
Impacted Files Coverage Δ
pylint/checkers/refactoring/refactoring_checker.py 98.34% <100.00%> (ø)

@Pierre-Sassoulas Pierre-Sassoulas merged commit 80e024a into maintenance/2.17.x Jun 12, 2023
@Pierre-Sassoulas Pierre-Sassoulas deleted the backport-8750-to-maintenance/2.17.x branch June 12, 2023 03:57
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

Successfully merging this pull request may close these issues.

2 participants