Lint python
This commit is contained in:
parent
a2e4c29839
commit
86690f41f1
7 changed files with 1367 additions and 17 deletions
|
|
@ -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,
|
||||
)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue