Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
b94608ffe3 | ||
|
|
ef6bce8f3f |
@@ -42,7 +42,7 @@ def ruff_sort_imports(files: list[Path], dry_run: bool = False) -> None:
|
|||||||
return
|
return
|
||||||
print("🔧 Ruff isort on modified files")
|
print("🔧 Ruff isort on modified files")
|
||||||
subprocess.run(
|
subprocess.run(
|
||||||
["ruff", "check", "--select", "I", "--fix", *py_files],
|
[sys.executable, "-m", "ruff", "check", "--select", "I", "--fix", *py_files],
|
||||||
stdout=subprocess.DEVNULL,
|
stdout=subprocess.DEVNULL,
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
@@ -207,10 +207,5 @@ def setup_cli(
|
|||||||
host = endpoints[0]["host"]
|
host = endpoints[0]["host"]
|
||||||
port = endpoints[0]["port"]
|
port = endpoints[0]["port"]
|
||||||
|
|
||||||
cmd = [
|
cmd = [cli, f"--listen={host}:{port}"]
|
||||||
sys.executable,
|
|
||||||
"-m",
|
|
||||||
cli,
|
|
||||||
f"--listen={host}:{port}",
|
|
||||||
]
|
|
||||||
return f"http://{host}:{port}", cmd
|
return f"http://{host}:{port}", cmd
|
||||||
|
|||||||
Reference in New Issue
Block a user