HomeSealhub

Add a Python version check to the black linter (#29)

Description

Add a Python version check to the black linter (#29)

When configured, this verifies that we're running the expected Python
version. We check this using the python3 executable (because black
only support Python 3).

If we don't find the expected Python version, we print a warning and
skip linting with black. This isn't a fatal error for the lint workflow,
unlike most of our other version checks.

Details

Provenance
Jon PariseAuthored on Jan 3 2020, 00:39
GitHubCommitted on Jan 3 2020, 00:39
kuba-orlikPushed on May 3 2022, 16:02
Parents
R124:781a7c8649b2: Remove --check and --quiet from suggested command line (#30)
Branches
Unknown
Tags
Unknown

Event Timeline