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

Workflow for checking pull request formatting #9

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

SebastianGrans
Copy link
Contributor

@SebastianGrans SebastianGrans commented Dec 3, 2021

I've created a workflow that is executed on pull requests. I runs black --check on any new or modified python files.

I left some echo statements in the shell script in case debugging is needed in the future.

I've created two dummy pull request on my fork to demonstrate how it works.

https://github.com/SebastianGrans/moto/pulls

@SebastianGrans
Copy link
Contributor Author

check_formatting.sh contains code that was original from this project and is licensed under MIT. While this repo has the Apache 2.0 license.

They seem to be "compatible" based on this discussion and this page.

But I'm no lawyer.

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