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