Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(feat, python): use ruff for formatting #4199

Merged
merged 2 commits into from
Aug 5, 2024
Merged

Conversation

dsinghvi
Copy link
Member

@dsinghvi dsinghvi commented Aug 5, 2024

Instead of formatting every source file, the python generator now runs poetry run ruff format to format all of the generated files.

Black + Isort are still used to format snippets b/c there is no easy way to invoke black from a python library. See this issue

Additionally, in local files mode the SDK skips readme, reference and snippet template generation.

@dsinghvi dsinghvi marked this pull request as ready for review August 5, 2024 04:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant