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

Merged
merged 23 commits into from May 15, 2024
Merged

Check variable assignments that immediately return #5911

merged 23 commits into from May 15, 2024

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 92.10526% with 3 lines in your changes are missing coverage. Please review.

Project coverage is 96.99%. Comparing base (a9a66d9) to head (90e56ab).

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #5911      +/-   ##
==========================================
- Coverage   96.99%   96.99%   -0.01%     
==========================================
  Files         141      141              
  Lines       24641    24624      -17     
==========================================
- Hits        23900    23883      -17     
  Misses        741      741              

@tkoyama010 tkoyama010 marked this pull request as ready for review May 5, 2024 07:02
@tkoyama010 tkoyama010 enabled auto-merge (squash) May 5, 2024 07:02
@tkoyama010
Copy link
Member Author

@pyvista-bot LGTM

pyvista-bot
pyvista-bot previously approved these changes May 5, 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:

pyvista/core/dataset.py Outdated Show resolved Hide resolved
pyvista/core/utilities/helpers.py Outdated Show resolved Hide resolved
pyvista/plotting/picking.py Outdated Show resolved Hide resolved
pyvista/plotting/plotter.py Outdated Show resolved Hide resolved
pyvista/plotting/plotter.py Outdated Show resolved Hide resolved
pyvista/core/dataset.py Outdated Show resolved Hide resolved
pyvista/core/dataset.py Outdated Show resolved Hide resolved
@tkoyama010
Copy link
Member Author

@pyvista-bot LGTM

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 merged commit 1f3f47b into main May 15, 2024
30 checks passed
@tkoyama010 tkoyama010 deleted the maint/ret branch May 15, 2024 03:48
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