sedona
sedona copied to clipboard
[CI] Add pre-commit hook `pyupgrade` to auto upgrade Python syntax
"A tool (and pre-commit hook) to automatically upgrade syntax for newer versions of the language."
https://github.com/asottile/pyupgrade
Did you read the Contributor Guide?
- Yes, I have read the Contributor Rules and Contributor Development Guide
Is this PR related to a JIRA ticket?
- No
What changes were proposed in this PR?
Added another check/test to our pre-commit framework.
How was this patch tested?
Ran locally: pre-commit run --all-files
Did this PR include necessary documentation updates?
- No, this PR does not affect any public API so no need to change the documentation.