Enforce ruff/pyupgrade rules (UP)
As part of repo-review suggestions:
https://learn.scientific-python.org/development/guides/repo-review/?repo=pypa%2Fpipx&branch=main
FWIW, enabling pyupgrade rules by default was discussed and the sentiment appeared to be to run it on an ad-hoc basis not to enforce it: https://github.com/pypa/pip/pull/11944#issuecomment-1950277239
FWIW, enabling pyupgrade rules by default was discussed and the sentiment appeared to be to run it on an ad-hoc basis not to enforce it: #11944 (comment)
Would you like me to remove UP from the selected ruff rules?
Would you like me to remove
UPfrom the selected ruff rules?
I'm personally supportivel of UP being a selected rule set, and turning off any particular rules if they're found to be problematic. But pip maintainers may have different opinions (as linked).