apache / sedona

A cluster computing framework for processing large-scale geospatial data
https://sedona.apache.org/
Apache License 2.0
1.96k stars 692 forks source link

[CI] Add pre-commit hook `isort` to sort Python imports #1633

Closed jbampton closed 1 month ago

jbampton commented 1 month ago

"isort is a Python utility / library to sort imports alphabetically and automatically separate into sections and by type."

https://github.com/PyCQA/isort

https://pycqa.github.io/isort/docs/configuration/pre-commit.html

https://pycqa.github.io/isort/docs/configuration/black_compatibility.html

Did you read the Contributor Guide?

Is this PR related to a JIRA ticket?

What changes were proposed in this PR?

Added another check/test to our pre-commit framework to sort Python imports.

How was this patch tested?

Ran locally: pre-commit run --all-files

Did this PR include necessary documentation updates?