Skip to content

Apply ruff/pyupgrade (UP) and ruff/refurb (FURB) rules#1047

Merged
RonnyPfannschmidt merged 2 commits intopypa:mainfrom
DimitriPapadopoulos:UP_FURB
May 11, 2024
Merged

Apply ruff/pyupgrade (UP) and ruff/refurb (FURB) rules#1047
RonnyPfannschmidt merged 2 commits intopypa:mainfrom
DimitriPapadopoulos:UP_FURB

Conversation

@DimitriPapadopoulos
Copy link
Copy Markdown
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
Comment thread src/setuptools_scm/git.py
	FURB118 Use `operator.itemgetter(slice(7))` instead of defining a function
@RonnyPfannschmidt RonnyPfannschmidt merged commit a4f3d38 into pypa:main May 11, 2024
@RonnyPfannschmidt
Copy link
Copy Markdown
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