diff options
Diffstat (limited to 'Tools')
-rw-r--r-- | Tools/build/.ruff.toml | 4 | ||||
-rw-r--r-- | Tools/clinic/.ruff.toml | 3 | ||||
-rw-r--r-- | Tools/wasm/wasi.py | 5 |
3 files changed, 7 insertions, 5 deletions
diff --git a/Tools/build/.ruff.toml b/Tools/build/.ruff.toml index e4f024333ad..c084c06144a 100644 --- a/Tools/build/.ruff.toml +++ b/Tools/build/.ruff.toml @@ -1,6 +1,4 @@ -target-version = "py310" -fix = true -line-length = 79 +extend = "../../.ruff.toml" # Inherit the project-wide settings [lint] select = [ diff --git a/Tools/clinic/.ruff.toml b/Tools/clinic/.ruff.toml index c019572d0cb..5033887df0c 100644 --- a/Tools/clinic/.ruff.toml +++ b/Tools/clinic/.ruff.toml @@ -1,5 +1,4 @@ -target-version = "py310" -fix = true +extend = "../../.ruff.toml" # Inherit the project-wide settings [lint] select = [ diff --git a/Tools/wasm/wasi.py b/Tools/wasm/wasi.py index da847c4ff86..a742043e4be 100644 --- a/Tools/wasm/wasi.py +++ b/Tools/wasm/wasi.py @@ -270,6 +270,10 @@ def make_wasi_python(context, working_dir): exec_script = working_dir / "python.sh" subprocess.check_call([exec_script, "--version"]) + print( + f"🎉 Use '{exec_script.relative_to(context.init_dir)}' " + "to run CPython in wasm runtime" + ) def build_all(context): @@ -348,6 +352,7 @@ def main(): help="The target triple for the WASI host build") context = parser.parse_args() + context.init_dir = pathlib.Path().absolute() dispatch = {"configure-build-python": configure_build_python, "make-build-python": make_build_python, |