Skip to content

Commit a505b50

Browse files
committed
Normalize Python template formatting
Signed-off-by: Tim Paine <3105306+timkpaine@users.noreply.github.com>
1 parent 351fcdb commit a505b50

9 files changed

Lines changed: 25 additions & 16 deletions

File tree

‎python/cpp/.gitignore.jinja‎

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,10 @@ __pycache__/
1313
*.exp
1414
*.lib
1515

16-
{% if add_vcpkg -%}
1716
# vcpkg
1817
vcpkg/
1918
vcpkg_installed/
2019

21-
{% endif -%}
2220
# Rust
2321
target
2422
target-capi
@@ -148,9 +146,7 @@ Untitled*.ipynb
148146

149147
# Emscripten SDK (locally installed)
150148
emsdk
151-
{% if add_pyodide -%}
152149
.pyodide_build/
153-
{% endif %}
154150

155151
# Mac
156152
.DS_Store

‎python/cppjswasm/.gitignore.jinja‎

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,10 @@ __pycache__/
1313
*.exp
1414
*.lib
1515

16-
{% if add_vcpkg -%}
1716
# vcpkg
1817
vcpkg/
1918
vcpkg_installed/
2019

21-
{% endif -%}
2220
# Rust
2321
target
2422
target-capi
@@ -148,9 +146,7 @@ Untitled*.ipynb
148146

149147
# Emscripten SDK (locally installed)
150148
emsdk
151-
{% if add_pyodide -%}
152149
.pyodide_build/
153-
{% endif %}
154150

155151
# Mac
156152
.DS_Store

‎python/js/.gitignore.jinja‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,10 @@ __pycache__/
1313
*.exp
1414
*.lib
1515

16+
# vcpkg
17+
vcpkg/
18+
vcpkg_installed/
19+
1620
# Rust
1721
target
1822
target-capi
@@ -142,6 +146,7 @@ Untitled*.ipynb
142146

143147
# Emscripten SDK (locally installed)
144148
emsdk
149+
.pyodide_build/
145150

146151
# Mac
147152
.DS_Store

‎python/jupyter/.gitignore.jinja‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,10 @@ __pycache__/
1313
*.exp
1414
*.lib
1515

16+
# vcpkg
17+
vcpkg/
18+
vcpkg_installed/
19+
1620
# Rust
1721
target
1822
target-capi
@@ -142,6 +146,7 @@ Untitled*.ipynb
142146

143147
# Emscripten SDK (locally installed)
144148
emsdk
149+
.pyodide_build/
145150

146151
# Mac
147152
.DS_Store

‎python/pure/.gitignore.jinja‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,10 @@ __pycache__/
1313
*.exp
1414
*.lib
1515

16+
# vcpkg
17+
vcpkg/
18+
vcpkg_installed/
19+
1620
# Rust
1721
target
1822
target-capi
@@ -142,6 +146,7 @@ Untitled*.ipynb
142146

143147
# Emscripten SDK (locally installed)
144148
emsdk
149+
.pyodide_build/
145150

146151
# Mac
147152
.DS_Store

‎python/rust/.gitignore.jinja‎

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,10 @@ __pycache__/
1313
*.exp
1414
*.lib
1515

16+
# vcpkg
17+
vcpkg/
18+
vcpkg_installed/
19+
1620
# Rust
1721
target
1822
target-capi
@@ -142,9 +146,7 @@ Untitled*.ipynb
142146

143147
# Emscripten SDK (locally installed)
144148
emsdk
145-
{% if add_pyodide -%}
146149
.pyodide_build/
147-
{% endif %}
148150

149151
# Mac
150152
.DS_Store

‎python/rust/pyproject.toml.jinja‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -124,8 +124,7 @@ test-command = "python -m pytest -vvv --pyargs {{ module }}.tests"
124124
test-extras = []
125125
test-requires = ["pytest"]
126126
xbuild-tools = ["cargo", "rustc", "rustup"]
127-
{% endif -%}
128-
127+
{% endif %}
129128
[tool.coverage.run]
130129
branch = true
131130
omit = [

‎python/rustjswasm/.gitignore.jinja‎

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,10 @@ __pycache__/
1313
*.exp
1414
*.lib
1515

16+
# vcpkg
17+
vcpkg/
18+
vcpkg_installed/
19+
1620
# Rust
1721
target
1822
target-capi
@@ -142,9 +146,7 @@ Untitled*.ipynb
142146

143147
# Emscripten SDK (locally installed)
144148
emsdk
145-
{% if add_pyodide -%}
146149
.pyodide_build/
147-
{% endif %}
148150

149151
# Mac
150152
.DS_Store

‎python/rustjswasm/pyproject.toml.jinja‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -137,8 +137,7 @@ test-command = "python -m pytest -vvv --pyargs {{ module }}.tests"
137137
test-extras = []
138138
test-requires = ["pytest"]
139139
xbuild-tools = ["cargo", "rustc", "rustup"]
140-
{% endif -%}
141-
140+
{% endif %}
142141
[tool.coverage.run]
143142
branch = true
144143
omit = [

0 commit comments

Comments
 (0)