Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions actions-ext
1 change: 1 addition & 0 deletions automerge
1 change: 1 addition & 0 deletions copier-update
1 change: 1 addition & 0 deletions example-instances/python-template
1 change: 1 addition & 0 deletions example-instances/python-template-cpp
1 change: 1 addition & 0 deletions example-instances/python-template-cppjswasm
1 change: 1 addition & 0 deletions example-instances/python-template-js
1 change: 1 addition & 0 deletions example-instances/python-template-jupyter
1 change: 1 addition & 0 deletions example-instances/python-template-rust
1 change: 1 addition & 0 deletions example-instances/python-template-rustjswasm
1 change: 1 addition & 0 deletions github
1 change: 1 addition & 0 deletions infra
1 change: 1 addition & 0 deletions other/github
1 change: 1 addition & 0 deletions other/github-actions-ext
2 changes: 1 addition & 1 deletion python/cpp/Makefile.jinja
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ check-dist: ## check python sdist and wheel with check-dist
check-types: ## check python types with ty
ty check --python $$(which python)

checks: check-dist
checks: check-dist check-types

# alias
check: checks
Expand Down
3 changes: 2 additions & 1 deletion python/cpp/pyproject.toml.jinja
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,8 @@ test-requires = ["pytest"]
[tool.coverage.run]
branch = true
omit = [
"{{ module }}/tests/integration/",
# a glob: a bare directory path matches no file
"{{ module }}/tests/integration/*",
]

[tool.coverage.report]
Expand Down
1 change: 1 addition & 0 deletions python/cpp/{{module}}/extension.pyi
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
def add(i: int, j: int) -> int: ...
2 changes: 1 addition & 1 deletion python/cppjswasm/Makefile.jinja
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ check-dist: ## check python sdist and wheel with check-dist
check-types: ## check python types with ty
ty check --python $$(which python)

checks: check-dist
checks: check-dist check-types

# alias
check: checks
Expand Down
3 changes: 2 additions & 1 deletion python/cppjswasm/pyproject.toml.jinja
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,8 @@ test-requires = ["pytest"]
[tool.coverage.run]
branch = true
omit = [
"{{ module }}/tests/integration/",
# a glob: a bare directory path matches no file
"{{ module }}/tests/integration/*",
]

[tool.coverage.report]
Expand Down
1 change: 1 addition & 0 deletions python/cppjswasm/{{module}}/extension_cpp.pyi
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
def add(i: int, j: int) -> int: ...
2 changes: 1 addition & 1 deletion python/cython/Makefile.jinja
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ check-dist: ## check python sdist and wheel with check-dist
check-types: ## check Python types (advisory)
ty check {{ module }}

checks: check-dist ## run distribution checks
checks: check-dist check-types ## run distribution checks
check: checks

test: ## run Python tests
Expand Down
3 changes: 2 additions & 1 deletion python/cython/pyproject.toml.jinja
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,8 @@ replace = 'version = "{new_version}"'
[tool.coverage.run]
branch = true
omit = [
"{{ module }}/tests/integration/",
# a glob: a bare directory path matches no file
"{{ module }}/tests/integration/*",
"{{ module }}/_compiled.py",
]

Expand Down
1 change: 1 addition & 0 deletions python/cython/{{module}}/_native.pyi
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
def add(left: int, right: int) -> int: ...
2 changes: 1 addition & 1 deletion python/js/Makefile.jinja
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ check-dist: ## check python sdist and wheel with check-dist
check-types: ## check python types with ty
ty check --python $$(which python)

checks: check-dist
checks: check-dist check-types

# alias
check: checks
Expand Down
3 changes: 2 additions & 1 deletion python/js/pyproject.toml.jinja
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,8 @@ replace = '"version": "{new_version}"'
[tool.coverage.run]
branch = true
omit = [
"{{ module }}/tests/integration/",
# a glob: a bare directory path matches no file
"{{ module }}/tests/integration/*",
]

[tool.coverage.report]
Expand Down
2 changes: 1 addition & 1 deletion python/jupyter/Makefile.jinja
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ check-dist: ## check python sdist and wheel with check-dist
check-types: ## check python types with ty
ty check --python $$(which python)

checks: check-dist
checks: check-dist check-types

# alias
check: checks
Expand Down
3 changes: 2 additions & 1 deletion python/jupyter/pyproject.toml.jinja
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,8 @@ replace = '"version": "{new_version}"'
[tool.coverage.run]
branch = true
omit = [
"{{ module }}/tests/integration/",
# a glob: a bare directory path matches no file
"{{ module }}/tests/integration/*",
]

[tool.coverage.report]
Expand Down
2 changes: 1 addition & 1 deletion python/pure/Makefile.jinja
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ check-dist: ## check python sdist and wheel with check-dist
check-types: ## check python types with ty
ty check --python $$(which python)

checks: check-dist
checks: check-dist check-types

# Alias
check: checks
Expand Down
3 changes: 2 additions & 1 deletion python/pure/pyproject.toml.jinja
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,8 @@ replace = 'version = "{new_version}"'
[tool.coverage.run]
branch = true
omit = [
"{{ module }}/tests/integration/",
# a glob: a bare directory path matches no file
"{{ module }}/tests/integration/*",
]

[tool.coverage.report]
Expand Down
2 changes: 1 addition & 1 deletion python/rust/Makefile.jinja
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ check-dist: ## check python sdist and wheel with check-dist
check-types: ## check python types with ty
ty check --python $$(which python)

checks: check-dist
checks: check-dist check-types

# alias
check: checks
Expand Down
3 changes: 2 additions & 1 deletion python/rust/pyproject.toml.jinja
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,8 @@ xbuild-tools = ["cargo", "rustc", "rustup"]
[tool.coverage.run]
branch = true
omit = [
"{{ module }}/tests/integration/",
# a glob: a bare directory path matches no file
"{{ module }}/tests/integration/*",
]

[tool.coverage.report]
Expand Down
2 changes: 1 addition & 1 deletion python/rustjswasm/Makefile.jinja
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ check-dist: ## check python sdist and wheel with check-dist
check-types: ## check python types with ty
ty check --python $$(which python)

checks: check-dist
checks: check-dist check-types

# alias
check: checks
Expand Down
3 changes: 2 additions & 1 deletion python/rustjswasm/pyproject.toml.jinja
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,8 @@ xbuild-tools = ["cargo", "rustc", "rustup"]
[tool.coverage.run]
branch = true
omit = [
"{{ module }}/tests/integration/",
# a glob: a bare directory path matches no file
"{{ module }}/tests/integration/*",
]

[tool.coverage.report]
Expand Down
Loading