mirror of
https://github.com/python/cpython.git
synced 2025-12-08 06:10:17 +00:00
[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:
parent
a96cde9f80
commit
c5ab1b7661
9 changed files with 323 additions and 157 deletions
|
|
@ -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__")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue