From a505b50f66be66f895b98bba83217f9e39348fd0 Mon Sep 17 00:00:00 2001 From: Tim Paine <3105306+timkpaine@users.noreply.github.com> Date: Sun, 16 Aug 2026 19:18:37 -0400 Subject: [PATCH] Normalize Python template formatting Signed-off-by: Tim Paine <3105306+timkpaine@users.noreply.github.com> --- python/cpp/.gitignore.jinja | 4 ---- python/cppjswasm/.gitignore.jinja | 4 ---- python/js/.gitignore.jinja | 5 +++++ python/jupyter/.gitignore.jinja | 5 +++++ python/pure/.gitignore.jinja | 5 +++++ python/rust/.gitignore.jinja | 6 ++++-- python/rust/pyproject.toml.jinja | 3 +-- python/rustjswasm/.gitignore.jinja | 6 ++++-- python/rustjswasm/pyproject.toml.jinja | 3 +-- 9 files changed, 25 insertions(+), 16 deletions(-) diff --git a/python/cpp/.gitignore.jinja b/python/cpp/.gitignore.jinja index 238c203..7873e43 100644 --- a/python/cpp/.gitignore.jinja +++ b/python/cpp/.gitignore.jinja @@ -13,12 +13,10 @@ __pycache__/ *.exp *.lib -{% if add_vcpkg -%} # vcpkg vcpkg/ vcpkg_installed/ -{% endif -%} # Rust target target-capi @@ -148,9 +146,7 @@ Untitled*.ipynb # Emscripten SDK (locally installed) emsdk -{% if add_pyodide -%} .pyodide_build/ -{% endif %} # Mac .DS_Store diff --git a/python/cppjswasm/.gitignore.jinja b/python/cppjswasm/.gitignore.jinja index 238c203..7873e43 100644 --- a/python/cppjswasm/.gitignore.jinja +++ b/python/cppjswasm/.gitignore.jinja @@ -13,12 +13,10 @@ __pycache__/ *.exp *.lib -{% if add_vcpkg -%} # vcpkg vcpkg/ vcpkg_installed/ -{% endif -%} # Rust target target-capi @@ -148,9 +146,7 @@ Untitled*.ipynb # Emscripten SDK (locally installed) emsdk -{% if add_pyodide -%} .pyodide_build/ -{% endif %} # Mac .DS_Store diff --git a/python/js/.gitignore.jinja b/python/js/.gitignore.jinja index f57991a..7873e43 100644 --- a/python/js/.gitignore.jinja +++ b/python/js/.gitignore.jinja @@ -13,6 +13,10 @@ __pycache__/ *.exp *.lib +# vcpkg +vcpkg/ +vcpkg_installed/ + # Rust target target-capi @@ -142,6 +146,7 @@ Untitled*.ipynb # Emscripten SDK (locally installed) emsdk +.pyodide_build/ # Mac .DS_Store diff --git a/python/jupyter/.gitignore.jinja b/python/jupyter/.gitignore.jinja index f57991a..7873e43 100644 --- a/python/jupyter/.gitignore.jinja +++ b/python/jupyter/.gitignore.jinja @@ -13,6 +13,10 @@ __pycache__/ *.exp *.lib +# vcpkg +vcpkg/ +vcpkg_installed/ + # Rust target target-capi @@ -142,6 +146,7 @@ Untitled*.ipynb # Emscripten SDK (locally installed) emsdk +.pyodide_build/ # Mac .DS_Store diff --git a/python/pure/.gitignore.jinja b/python/pure/.gitignore.jinja index f57991a..7873e43 100644 --- a/python/pure/.gitignore.jinja +++ b/python/pure/.gitignore.jinja @@ -13,6 +13,10 @@ __pycache__/ *.exp *.lib +# vcpkg +vcpkg/ +vcpkg_installed/ + # Rust target target-capi @@ -142,6 +146,7 @@ Untitled*.ipynb # Emscripten SDK (locally installed) emsdk +.pyodide_build/ # Mac .DS_Store diff --git a/python/rust/.gitignore.jinja b/python/rust/.gitignore.jinja index c980a45..7873e43 100644 --- a/python/rust/.gitignore.jinja +++ b/python/rust/.gitignore.jinja @@ -13,6 +13,10 @@ __pycache__/ *.exp *.lib +# vcpkg +vcpkg/ +vcpkg_installed/ + # Rust target target-capi @@ -142,9 +146,7 @@ Untitled*.ipynb # Emscripten SDK (locally installed) emsdk -{% if add_pyodide -%} .pyodide_build/ -{% endif %} # Mac .DS_Store diff --git a/python/rust/pyproject.toml.jinja b/python/rust/pyproject.toml.jinja index 0be59f9..068b49f 100644 --- a/python/rust/pyproject.toml.jinja +++ b/python/rust/pyproject.toml.jinja @@ -124,8 +124,7 @@ test-command = "python -m pytest -vvv --pyargs {{ module }}.tests" test-extras = [] test-requires = ["pytest"] xbuild-tools = ["cargo", "rustc", "rustup"] -{% endif -%} - +{% endif %} [tool.coverage.run] branch = true omit = [ diff --git a/python/rustjswasm/.gitignore.jinja b/python/rustjswasm/.gitignore.jinja index c980a45..7873e43 100644 --- a/python/rustjswasm/.gitignore.jinja +++ b/python/rustjswasm/.gitignore.jinja @@ -13,6 +13,10 @@ __pycache__/ *.exp *.lib +# vcpkg +vcpkg/ +vcpkg_installed/ + # Rust target target-capi @@ -142,9 +146,7 @@ Untitled*.ipynb # Emscripten SDK (locally installed) emsdk -{% if add_pyodide -%} .pyodide_build/ -{% endif %} # Mac .DS_Store diff --git a/python/rustjswasm/pyproject.toml.jinja b/python/rustjswasm/pyproject.toml.jinja index fb7d08a..56563be 100644 --- a/python/rustjswasm/pyproject.toml.jinja +++ b/python/rustjswasm/pyproject.toml.jinja @@ -137,8 +137,7 @@ test-command = "python -m pytest -vvv --pyargs {{ module }}.tests" test-extras = [] test-requires = ["pytest"] xbuild-tools = ["cargo", "rustc", "rustup"] -{% endif -%} - +{% endif %} [tool.coverage.run] branch = true omit = [