black --line-length 79 . was run to format all python files with black, and with a line length of 79 characters, per PEP8. Black by default uses 88.
An action that checks that code has been formatted such that applying black --line-length 79 . does not result in any changes has been added. It runs on pushes, PRs, and manaully.
When/if a pyproject.toml is authored it should include black args, and the action should be updated to reference pyproject.toml, rather than including the necessary args in the yaml file.
Two things.
black --line-length 79 .
was run to format all python files with black, and with a line length of 79 characters, per PEP8. Black by default uses 88.black --line-length 79 .
does not result in any changes has been added. It runs on pushes, PRs, and manaully.When/if a
pyproject.toml
is authored it should include black args, and the action should be updated to referencepyproject.toml
, rather than including the necessary args in the yaml file.