daxa-ai / pebblo

Pebblo enables developers to safely load data and promote their Gen AI app to deployment
https://daxa.ai/pebblo
MIT License
137 stars 45 forks source link

Add Ruff sort imports command to the format_diff target #549

Closed Raj725 closed 1 month ago

Raj725 commented 1 month ago

Currently, the Ruff formatter does not sort imports. We need to sort imports by calling the Ruff linter.

Ref: https://docs.astral.sh/ruff/formatter/#sorting-imports