Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Apply refurb suggestions#180

Merged
jjhelmus merged 4 commits into
jjhelmus:masterfrom
DimitriPapadopoulos:refurb
Dec 7, 2022
Merged

Apply refurb suggestions#180
jjhelmus merged 4 commits into
jjhelmus:masterfrom
DimitriPapadopoulos:refurb

Conversation

@DimitriPapadopoulos
Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
Owner

jjhelmus commented Dec 7, 2022

LGTM. Thanks for the modernization.

@jjhelmus jjhelmus merged commit 1d20429 into jjhelmus:master Dec 7, 2022
@DimitriPapadopoulos DimitriPapadopoulos deleted the refurb branch December 7, 2022 17:35
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