Lint python

This commit is contained in:
Andras Schmelczer 2026-01-25 21:46:02 +00:00
parent a2e4c29839
commit 86690f41f1
7 changed files with 1367 additions and 17 deletions

View file

@ -8,7 +8,6 @@
# Run it with:
# uv run generate_tfl_client.py
import shutil
import subprocess
from pathlib import Path
@ -28,7 +27,14 @@ def main() -> None:
# Generate the client
print(f"Generating client from {OPENAPI_SPEC}")
result = subprocess.run(
["openapi-python-client", "generate", "--path", str(OPENAPI_SPEC), "--output-path", str(OUTPUT_PATH)],
[
"openapi-python-client",
"generate",
"--path",
str(OPENAPI_SPEC),
"--output-path",
str(OUTPUT_PATH),
],
check=True,
)