-
Notifications
You must be signed in to change notification settings - Fork 4
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
Pre-commit and poetry tasks #181
Conversation
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.
Mostly looks good to me, one comment
Did we want to try to resolve potential warnings as part of this PR or separate (the linting is likely still to fail or output a long list for now). |
Lets fix the rest of them in a separate PR |
Oh, should we use poethepoet in the quality check actions now? |
This was actually a question I had when I was looking at the snakebids actions since this basically copies that workflow. The action and the poe task differ in one minor way: the poe task actually performs the sorting and corrections but the action only performs checks for isort and black. Thinking about it some more, if we resolve all the warnings and ensure pre-commit is run, than we can update the poe task to perform the check and use that in the action. |
Yeah I don't think we'll want to perform the corrections in the workflow, so I'm fine either way. |
Proposed changes
This PR adds the following:
I have pointed this PR to poetry_setup rather than master as that should be merged first.
Types of changes
What types of changes does your code introduce? Put an
x
in the boxes that applyChecklist
Put an
x
in the boxes that apply. You can also fill these out after creating the PR. If you are unsure about any of the choices, don't hesitate to ask!black
with the-l 79
flag.Notes
All PRs will undergo the unit testing before being reviewed. You may be requested to explain or make additional changes before the PR is accepted.
PR template was adopted from appium