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

Apply a couple refurb suggestions #9944

Merged
merged 2 commits into from
Nov 30, 2023
Merged

Conversation

DimitriPapadopoulos
Copy link
Contributor

@DimitriPapadopoulos DimitriPapadopoulos commented Nov 30, 2023

I have left out most refurb suggestions, kept only those that clearly improve readability or performance.

Note that support for refurb has just been merged in ruff.

[FURB138]: Consider using list comprehension
[FURB108]: Replace `x == y or x == z` with `x in (y, z)`
@alex alex merged commit 3fa1405 into pyca:main Nov 30, 2023
56 checks passed
@DimitriPapadopoulos DimitriPapadopoulos deleted the refurb branch November 30, 2023 20:23
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.

2 participants