Apply black

This commit is contained in:
MinchinWeb 2021-07-01 00:00:54 -06:00
commit 586ec7a8bc
40 changed files with 6135 additions and 4929 deletions

View file

@ -16,9 +16,7 @@ VENV_BIN = Path(VENV) / Path(BIN_DIR)
TOOLS = ["poetry", "pre-commit", "psutil"]
POETRY = which("poetry") if which("poetry") else (VENV_BIN / "poetry")
PRECOMMIT = (
which("pre-commit") if which("pre-commit") else (VENV_BIN / "pre-commit")
)
PRECOMMIT = which("pre-commit") if which("pre-commit") else (VENV_BIN / "pre-commit")
@task
@ -64,9 +62,7 @@ def isort(c, check=False, diff=False):
check_flag = "-c"
if diff:
diff_flag = "--diff"
c.run(
f"{VENV_BIN}/isort {check_flag} {diff_flag} ."
)
c.run(f"{VENV_BIN}/isort {check_flag} {diff_flag} .")
@task