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 refurb suggestions #180

Merged
merged 4 commits into from
Dec 7, 2022
Merged

Apply refurb suggestions #180

merged 4 commits into from
Dec 7, 2022

Conversation

DimitriPapadopoulos
Copy link
Contributor

  • [FURB125]: Return is redundant here
  • [FURB108]: Use x in (y, z) instead of x == y or x == z
  • [FURB124]: Use x == y == z instead of x == y and x == z
  • [FURB118]: Replace lambda with operator.mul

@DimitriPapadopoulos DimitriPapadopoulos marked this pull request as draft December 7, 2022 07:42
@DimitriPapadopoulos
Copy link
Contributor Author

DimitriPapadopoulos commented Dec 7, 2022

Reverted changes to xcpy module, see #179 (comment).

[FURB125]: Return is redundant here
[FURB108]: Use `x in (y, z)` instead of `x == y or x == z`
[FURB124]: Use `x == y == z` instead of `x == y and x == z`
[FURB118]: Replace lambda with `operator.mul`
@DimitriPapadopoulos DimitriPapadopoulos marked this pull request as ready for review December 7, 2022 08:07
@jjhelmus
Copy link
Owner

jjhelmus commented Dec 7, 2022

LGTM. Thanks for the modernization.

@jjhelmus jjhelmus merged commit 1d20429 into jjhelmus:master Dec 7, 2022
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