Browse Source

🎨 Auto format

pull/14555/head
github-actions[bot] 7 months ago
parent
commit
f5edca4b36
  1. 6
      scripts/docs.py

6
scripts/docs.py

@ -263,7 +263,11 @@ def build_all() -> None:
"""
update_languages()
shutil.rmtree(site_path, ignore_errors=True)
langs = [lang.name for lang in get_lang_paths() if (lang.is_dir() and lang.name in SUPPORTED_LANGS)]
langs = [
lang.name
for lang in get_lang_paths()
if (lang.is_dir() and lang.name in SUPPORTED_LANGS)
]
cpu_count = os.cpu_count() or 1
process_pool_size = cpu_count * 4
typer.echo(f"Using process pool size: {process_pool_size}")

Loading…
Cancel
Save