[3.14] GH-139590: Run ruff format on pre-commit for Tools/wasm (GH-139591) (#139744)

Co-authored-by: Savannah Ostrowski <savannahostrowski@gmail.com>
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
This commit is contained in:
Miss Islington (bot) 2025-10-08 17:11:09 +02:00 committed by GitHub
parent a96cde9f80
commit c5ab1b7661
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
9 changed files with 323 additions and 157 deletions

View file

@ -1,10 +1,12 @@
if __name__ == "__main__":
if __name__ == "__main__":
import pathlib
import runpy
import sys
print("⚠️ WARNING: This script is deprecated and slated for removal in Python 3.20; "
"execute the `wasi/` directory instead (i.e. `python Tools/wasm/wasi`)\n",
file=sys.stderr)
print(
"⚠️ WARNING: This script is deprecated and slated for removal in Python 3.20; "
"execute the `wasi/` directory instead (i.e. `python Tools/wasm/wasi`)\n",
file=sys.stderr,
)
runpy.run_path(pathlib.Path(__file__).parent / "wasi", run_name="__main__")