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

Check variable assignments that immediately return #5911

Draft
wants to merge 4 commits into
base: main
Choose a base branch
from
Draft

Conversation

tkoyama010
Copy link
Member

Overview

Checks for variable assignments that immediately precede a return of the assigned variable.

Caution

Based on this comment, ignore checks for changes in the composition of the if statement.

@github-actions github-actions bot added documentation Anything related to the documentation/website maintenance Low-impact maintenance activity labels Apr 12, 2024
@tkoyama010 tkoyama010 enabled auto-merge (squash) April 12, 2024 04:47
@tkoyama010
Copy link
Member Author

@pyvista-bot LGTM

pyvista-bot
pyvista-bot previously approved these changes Apr 12, 2024
Copy link
Contributor

@pyvista-bot pyvista-bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ Approving this PR because tkoyama010 said so in here :shipit:

@tkoyama010 tkoyama010 marked this pull request as draft April 12, 2024 05:03
Copy link

codecov bot commented Apr 12, 2024

Codecov Report

Attention: Patch coverage is 79.06977% with 9 lines in your changes are missing coverage. Please review.

Project coverage is 96.81%. Comparing base (5e2e5b2) to head (c900900).

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #5911      +/-   ##
==========================================
- Coverage   96.83%   96.81%   -0.03%     
==========================================
  Files         139      139              
  Lines       24043    24033      -10     
==========================================
- Hits        23283    23267      -16     
- Misses        760      766       +6     

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Anything related to the documentation/website maintenance Low-impact maintenance activity
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants