Installed the pre-commit package, and used it to create a pre-commit hook that runs some of its own linting fixes (lines 7-10 in .pre-commit-config.yaml) and Black.
Created a new requirements-dev.txt with the two development dependencies.
Ran the two linters. Black initially had some trouble with vmms/tashiSSH.py and vmms/ec2SSH.py due to a bug in Black, which was bypassed by first running Black with the --fast flag.
Installed the
pre-commit
package, and used it to create a pre-commit hook that runs some of its own linting fixes (lines 7-10 in.pre-commit-config.yaml
) and Black.Created a new
requirements-dev.txt
with the two development dependencies.Ran the two linters. Black initially had some trouble with
vmms/tashiSSH.py
andvmms/ec2SSH.py
due to a bug in Black, which was bypassed by first running Black with the--fast
flag.