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

[ci/cd] Python Formatting Check #1458

Merged
merged 2 commits into from
Mar 15, 2024
Merged

[ci/cd] Python Formatting Check #1458

merged 2 commits into from
Mar 15, 2024

Conversation

Ankush-lastmile
Copy link
Member

@Ankush-lastmile Ankush-lastmile commented Mar 14, 2024

[ci/cd] Python Formatting Check

blocks on merging


Stack created with Sapling. Best reviewed with ReviewStack.

Ankush Pala ankush@lastmileai.dev added 2 commits March 14, 2024 14:35
`black --exclude '/\.sl\b' . --line-length=79`

A lot of the python files checked into the AIConfig repo have not been formatted. This command formats all python files the same way vscode would do it in the repo.

I noticed differences between black version 23.11 and 24 (latest). I had version 23.11 on my local install. This also causes different behaviours when running autoformat through vscode instead of the command line, I'm fairly certain vscode extension uses its own package. I upgraded my black formatter local install to 24 (latest).

Note: black is python package.
Copy link
Contributor

@rossdanlm rossdanlm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks cool

@Ankush-lastmile Ankush-lastmile merged commit 86b049e into main Mar 15, 2024
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants