style: reformat Python imports, whitespace, and indentation across CLI, client, and makefile
This commit is contained in:
@@ -1,14 +1,16 @@
|
||||
#!/usr/bin/env python3
|
||||
import pathlib
|
||||
import os
|
||||
import os
|
||||
import pathlib
|
||||
import sys
|
||||
|
||||
args = sys.argv[1:]
|
||||
args_string = " ".join(args)
|
||||
|
||||
|
||||
def install():
|
||||
os.system("./.venv/bin/python -m pip install -e .")
|
||||
|
||||
|
||||
def build():
|
||||
os.system("./.venv/bin/python -m pip install build")
|
||||
os.system("rm -r dist")
|
||||
@@ -17,7 +19,6 @@ def build():
|
||||
os.system("./.venv/bin/python -m black .")
|
||||
|
||||
|
||||
|
||||
if not pathlib.Path(".venv").exists():
|
||||
os.system("python3 -m venv .venv")
|
||||
install()
|
||||
@@ -35,4 +36,3 @@ if "publish" in sys.argv:
|
||||
|
||||
if "run" in sys.argv:
|
||||
os.system("./.venv/bin/yura " + args_string)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user