Skip to content
New issue

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

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

Already on GitHub? # to your account

recursively black format sheet2linkml codebase #14

Merged
merged 5 commits into from
Oct 27, 2021

Conversation

sujaypatil96
Copy link
Collaborator

This PR seeks to recursively format all files in the current version of the codebase so we can proceed to implementing the Github Action that automatically creates the LinkML YAML output in this repo as specified in issue #13.

Copy link
Collaborator

@gaurav gaurav left a comment

Choose a reason for hiding this comment

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

This looks great! Could you please add a GitHub Action to check whether new code is formatted as per black standards? You could also update the CONTRIBUTORS.md to let users/contributors should run poetry run black before submitting a PR. If their of those are too much work for this PR, feel free to merge it in now and open them as issues to be fixed later.

@sujaypatil96 sujaypatil96 requested a review from gaurav October 12, 2021 19:41
@sujaypatil96
Copy link
Collaborator Author

Thanks @gaurav. I've added a Github Action which checks if the code has been formatted per black standards, and updated the contributor docs too. Feel free to go through it again, and I can merge if everything looks good.

@sujaypatil96 sujaypatil96 linked an issue Oct 12, 2021 that may be closed by this pull request
@sujaypatil96 sujaypatil96 merged commit 83878e4 into main Oct 27, 2021
@sujaypatil96 sujaypatil96 deleted the spatil/black-format-codebase branch October 28, 2021 16:50
# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add CI code style standardization with Black via GitHub Actions
2 participants