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: Auto-format Python code with Black #429

Closed
wants to merge 2 commits into from

Conversation

Dev-Yoko
Copy link
Contributor

@Dev-Yoko Dev-Yoko commented Nov 8, 2023

feat: Auto-format Python code with Black

Enhance the GitHub Actions workflow to automatically check and format Python code using Black. This workflow checks for code formatting issues and, if needed, formats the codebase to ensure consistency and readability. Additionally, the workflow commits the changes only if there are differences after the formatting process. The workflow triggers on pushes to the main branch, ensuring the codebase remains well-formatted at all times.

feat: Auto-format Python code with Black

Enhance the GitHub Actions workflow to automatically check and format Python code using Black. This workflow checks for code formatting issues and, if needed, formats the codebase to ensure consistency and readability. Additionally, the workflow commits the changes only if there are differences after the formatting process. The workflow triggers on pushes to the main branch, ensuring the codebase remains well-formatted at all times.
@xditya
Copy link
Member

xditya commented Jan 30, 2024

Thanks for the PR!

The codes are per-formatted before commits, so this is workflow would be unnecessary.

@xditya xditya closed this Jan 30, 2024
@xditya xditya mentioned this pull request Feb 2, 2024
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