Skip to content

Commit a3990cb

Browse files
committed
Format make.py with ruff
1 parent c1b04d6 commit a3990cb

1 file changed

Lines changed: 13 additions & 2 deletions

File tree

make.py

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,9 @@ def clean():
173173
os.remove(item) if os.path.isfile(item) else rmtree(item)
174174

175175

176-
JobsAnnotation = Annotated[Optional[str], Option(help="Specify a number of parallel build tasks (defaults no N_CORES)")]
176+
JobsAnnotation = Annotated[
177+
Optional[str], Option(help="Specify a number of parallel build tasks (defaults no N_CORES)")
178+
]
177179

178180

179181
@app.command(rich_help_panel="Docs")
@@ -192,7 +194,16 @@ def serve(jobs: JobsAnnotation = "auto"):
192194
Build and serve the docs with automatic rebuilds and live reload.
193195
"""
194196
run_doc(
195-
[SPHINX_AUTOBUILD, *SPHINXAUTOBUILDOPTS, "--jobs", jobs, "-b", "html", *ALLSPHINXOPTS, f"{BUILD_DIR}/html"]
197+
[
198+
SPHINX_AUTOBUILD,
199+
*SPHINXAUTOBUILDOPTS,
200+
"--jobs",
201+
jobs,
202+
"-b",
203+
"html",
204+
*ALLSPHINXOPTS,
205+
f"{BUILD_DIR}/html",
206+
]
196207
)
197208

198209

0 commit comments

Comments
 (0)