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

enable pyupgrade (UP) linter #298

Merged
merged 2 commits into from
Aug 21, 2024
Merged

Conversation

spencerschrock
Copy link
Contributor

Summary

The main rule I'm interested in is UP035, which helps prevent using
deprecated imports. Specifically some of the typing imports which now
live in collections.abc.

I disabled two rules (UP012, UP015) which consider some optional args as unnecessary,
as there were many occurrences and it seemed opinionated. But happy to re-add if desired.

Release Note

NONE

Documentation

NONE

The main rule we're interested in is UP035, which helps prevent using
deprecated imports. Specifically some of the `typing` imports which now
live in `collections.abc`.

I disabled two rules which consider some optional args as unnecessary,
as there were many occurrences and it seemed opinionated.

Signed-off-by: Spencer Schrock <[email protected]>
Signed-off-by: Spencer Schrock <[email protected]>
@spencerschrock spencerschrock requested review from a team as code owners August 21, 2024 18:05
Copy link
Collaborator

@mihaimaruseac mihaimaruseac left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you

@mihaimaruseac mihaimaruseac merged commit 79b5e91 into sigstore:main Aug 21, 2024
17 checks passed
@mihaimaruseac mihaimaruseac added this to the V1 release milestone Oct 14, 2024
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