Closed laserkelvin closed 1 year ago
I could test the workflow, too, by pushing some poorly formatted code to see if it triggers the action?
I could test the workflow, too, by pushing some poorly formatted code to see if it triggers the action?
Good idea. Let's do that.
@Pennycook please take a look at the logs, but it seems to work - I'll revert and we can merge after that
@Pennycook please take a look at the logs, but it seems to work - I'll revert and we can merge after that
Looks perfect!
I've reverted the fudge on _utils.py
and the test passed. Merging!
This PR reconfigures the
black
formatter part of thelint-format
workflow by removing the autocommit action, and relying on the officialpsf
version of the Github action.The intention now is that the
black
workflow will simply check files within thep3
source for modifications thatblack
would perform, as opposed to making and committing the changes.Related issues
Fixes #19
Proposed changes
List out—with high level descriptions—what the commits within this PR do:
auto-commit
action which wasn't working as intended, per #19black
workflowblack
installation within workflowpsf/black@stable
for configuring and runningblack
on the codeblack
options per #19;--check --verbose --diff