-
Notifications
You must be signed in to change notification settings - Fork 15
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
Automatically run pre-commit in GitHub workflow for pushes and pull requests #60
Conversation
You can see the full list of failures (before any fixes, and including the commented out hooks) from a previous run https://github.com/HicResearch/TREEHOOSE/runs/6487622324?check_suite_focus=true |
5800a9c
to
dcbdbb1
Compare
You'll need to explain this a bit more to me. I see there's four failed checks. Is this what you're trying to fix here or something else? |
@drchriscole mostly looks a bit WIP to me but waiting for a review from karan. The pre-commit action failed due to a linting issue with the markdown which will get fixed in another pr. The workspace-backup failed due to the issue described in #77 |
This PR should contain only reformatting. Best reviewed with white-space ignored: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks good apart from the US spelling of "organisation" but it probably does better align with AWS Organizations
I've commented out themarkdownlint
andcfn-python-lint
hooks since they require fixes (the other hooks support automatic formatting), and I'm having trouble installingmarkdownlint
due to the Ruby requirements- is using prettier an option?I've replaced markdownlint with prettier. This PR should only contain formatting changes.
I've commented out the pre-commit commit config that requires further work, either in terms of additional dependencies (#77) or minor code refactoring (flake8 fixes), I'll deal with these in a future PR.
Closes #57
Declaration : By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license