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

Add a Github Workflow to check formatting with black and reformat files #321

Open
wants to merge 10 commits into
base: master
Choose a base branch
from

Conversation

ddaws
Copy link

@ddaws ddaws commented Sep 13, 2024

This MR adds a CI check to ensure that all files are well formatted using Python black. To get the workflow passing I went ahead and reformatted all of the files using black.

I also investigated only checking files that have changed in the current branch to progressively reformat the repo, but this made the CI more complex and ultimately I dropped it and decided to just rip the 🩹 off.

I hope this is helpful. Once this is merged I would be happy to continue to add workflow support for the steps listed in #318


Note: This MR is a bit easier to review if you hide whitespace changes

image

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.

1 participant