sedona icon indicating copy to clipboard operation
sedona copied to clipboard

[CI] Add pre-commit hook `pyupgrade` to auto upgrade Python syntax

Open jbampton opened this issue 1 year ago • 0 comments

"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?

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.

jbampton avatar Oct 13 '24 15:10 jbampton