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 #787

Merged
merged 2 commits into from
Jan 5, 2023
Merged

Apply refurb suggestions #787

merged 2 commits into from
Jan 5, 2023

Conversation

DimitriPapadopoulos
Copy link
Contributor

  • [FURB123]: Replace int(x) with x
  • [FURB131]: Replace del x[y] with x.pop(y)

Indeed, `dist` is already an `int`.

Addresses refurb alert:
	[FURB123]: Replace `int(x)` with `x`
Addresses refurb alert:
	[FURB131]: Replace `del x[y]` with `x.pop(y)`
@DimitriPapadopoulos DimitriPapadopoulos changed the title Address refurb suggestions Apply refurb suggestions Nov 20, 2022
@RonnyPfannschmidt RonnyPfannschmidt merged commit d769228 into pypa:main Jan 5, 2023
@RonnyPfannschmidt
Copy link
Contributor

thanks

@DimitriPapadopoulos DimitriPapadopoulos deleted the refurb branch January 5, 2023 15:28
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