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

Remove unnecessary unpacking #276

Merged
merged 1 commit into from
Sep 7, 2024

Conversation

dandyrilla
Copy link
Contributor

@dandyrilla dandyrilla commented Sep 2, 2024

Hi, I am a user who really enjoys and actively utilizes OpenSlide. I would like to express my gratitude to @bgilbert for creating such an excellent open-source project!

What is this PR?

While using the code, I found a small area where I could contribute, so I created a PR with a one-line change. Since the max() function can accept iterable objects such as generators, it seems that there is no need to unpack them using an asterisk *.

Changes

  • Refactor code by removing unnecessary unpack operator *

@openslide-bot
Copy link

openslide-bot commented Sep 2, 2024

DCO signed off ✔️

All commits have been signed off. You have certified to the terms of the Developer Certificate of Origin, version 1.1. In particular, you certify that this contribution has not been developed using information obtained under a non-disclosure agreement or other license terms that forbid you from contributing it under the GNU Lesser General Public License, version 2.1.

@dandyrilla dandyrilla force-pushed the remove-unnecessary-unpacking branch from fa2c19a to e9b1a0f Compare September 2, 2024 14:03
@dandyrilla dandyrilla force-pushed the remove-unnecessary-unpacking branch from e9b1a0f to b9682cd Compare September 2, 2024 14:11
@dandyrilla
Copy link
Contributor Author

Sorry for force-pushing many commits. I amended commits because I was not familiar with DCO check. Now this PR passes the check.

@bgilbert
Copy link
Member

bgilbert commented Sep 7, 2024

Looks good, thanks for the cleanup!

@bgilbert bgilbert merged commit b0408be into openslide:main Sep 7, 2024
22 checks passed
@dandyrilla dandyrilla deleted the remove-unnecessary-unpacking branch December 3, 2024 01:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants