HomeSealhub

Always pass --quiet and --check to black (#31)

Description

Always pass --quiet and --check to black (#31)

This linter is currently written to only check the format of Python
files but not to also autoformat them (which would conflict with the
isort linter; more work here is needed). Given that, we should always
pass these flags to black.

Also, check for the 0 error code, which indicates that black didn't find
any formatting issues in the linted file.

Details

Provenance
Jon PariseAuthored on Jan 3 2020, 00:44
GitHubCommitted on Jan 3 2020, 00:44
kuba-orlikPushed on May 3 2022, 16:02
Parents
R124:2e9ca2dc3ece: Add a Python version check to the black linter (#29)
Branches
Unknown
Tags
Unknown

Event Timeline