Skip to content

Conversation

@Bibo-Joshi
Copy link
Member

Stumbled accros that project it thought it's neat. TBH, I'm not 100% we should add it to the pre-commit as it's somewhat young (2017) and doesn't seem well recognized in terms of stars, forks and dependent packages (https://github.com/asottile/pyupgrade).
Then again, dependent packages don't list pre-commit iirc, and it's apparently rather actively maintained by the pre-commit author himself.
Also I didn't find an option to make it not change files in pre-commit (it fails, but automatically modifies the files).
Anyway, even if we don't add it, at least the changes it made seem valid :)

@Bibo-Joshi Bibo-Joshi added the ⚙️ tests affected functionality: tests label Jan 7, 2021
@Bibo-Joshi Bibo-Joshi requested a review from Poolitzer January 7, 2021 21:49
Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

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

Hey there. Relax, I am just a little warning for the maintainers to release directly after merging your PR, otherwise we have broken examples and people might get confused :)

@Poolitzer
Copy link
Member

Poolitzer commented Jan 10, 2021

I would vote in favour of implementing this, but since this is a dev dependency kind of, we should get votes from other maintainers I guess?

Copy link
Member

@Poolitzer Poolitzer left a comment

Choose a reason for hiding this comment

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

alright, looks good, just one comment

@Bibo-Joshi
Copy link
Member Author

I'm gonna go ahead and merge. If we dislike it at some point, we can kick it, but we don't have to bee too strict on dev dependencies I guess …

@Bibo-Joshi Bibo-Joshi merged commit f31787a into master Jan 17, 2021
@Bibo-Joshi Bibo-Joshi deleted the pyupgrade branch January 17, 2021 22:24
@github-actions github-actions bot locked and limited conversation to collaborators Jan 19, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

⚙️ tests affected functionality: tests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants