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 ruff/pyupgrade (UP) and ruff/refurb (FURB) rules #1047

Merged
merged 2 commits into from
May 11, 2024

Conversation

DimitriPapadopoulos
Copy link
Contributor

@DimitriPapadopoulos DimitriPapadopoulos commented May 8, 2024

Fixes CI pre-commit errors in #1028.

	UP031 Use format specifiers instead of percent format
@DimitriPapadopoulos DimitriPapadopoulos changed the title Apply ruff/pyupgrade (UP) and ruff/refurb (FURB) Apply ruff/pyupgrade (UP) and ruff/refurb (FURB) rules May 8, 2024
src/setuptools_scm/git.py Show resolved Hide resolved
	FURB118 Use `operator.itemgetter(slice(7))` instead of defining a function
@RonnyPfannschmidt RonnyPfannschmidt merged commit a4f3d38 into pypa:main May 11, 2024
18 checks passed
@RonnyPfannschmidt
Copy link
Contributor

Thanks for cleaning those bits up

@DimitriPapadopoulos DimitriPapadopoulos deleted the UP_FURB branch May 11, 2024 09:57
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