Skip to content
Merged
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
2 changes: 1 addition & 1 deletion .copier-answers.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Changes here will be overwritten by Copier
_commit: b3bc450
_commit: 08a244d
_src_path: https://github.com/python-project-templates/base.git
add_docs: true
add_extension: cppjswasm
Expand Down
4 changes: 1 addition & 3 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -141,14 +141,12 @@ js/node_modules
js/test-results
js/playwright-report
js/*.tgz
python_template_cppjswasm/extension

# Jupyter
.ipynb_checkpoints
.autoversion
Untitled*.ipynb
!python_template_cppjswasm/extension/python_template_cppjswasm.json
!python_template_cppjswasm/extension/install.json
python_template_cppjswasm/extension
python_template_cppjswasm/nbextension
python_template_cppjswasm/labextension

Expand Down
11 changes: 7 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -91,12 +91,15 @@ format: fix
################
# Other Checks #
################
.PHONY: check-manifest checks check
.PHONY: check-dist check-types checks check

check-manifest: ## check python sdist manifest with check-manifest
check-manifest -v
check-dist: ## check python sdist and wheel with check-dist
check-dist -v

checks: check-manifest
check-types: ## check python types with ty
ty check --python $$(which python)

checks: check-dist

# alias
check: checks
Expand Down
23 changes: 4 additions & 19 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -39,18 +39,18 @@ dependencies = []
develop = [
"build",
"bump-my-version",
"check-manifest",
"check-dist",
"cibuildwheel",
"codespell>=2.4,<2.5",
"codespell",
"hatch-cpp<0.3",
"hatch-js",
"hatchling",
"pybind11",
"mdformat>=0.7.22,<1.1",
"mdformat",
"mdformat-tables>=1",
"pytest",
"pytest-cov",
"ruff>=0.9,<0.15",
"ruff",
"twine",
"ty",
"uv",
Expand Down Expand Up @@ -84,21 +84,6 @@ filename = "js/package.json"
search = '"version": "{current_version}"'
replace = '"version": "{new_version}"'

[tool.check-manifest]
ignore = [
".copier-answers.yaml",
".clang-format",
"js/pnpm-lock.yaml",
"Makefile",
".vscode/*",
"python_template_cppjswasm/extension/**/*",
"python_template_cppjswasm/*.dll",
"python_template_cppjswasm/*.dylib",
"python_template_cppjswasm/*.so",
"docs/**/*",
"js/dist/**/*",
]

[tool.cibuildwheel]
build = "cp310-*"
test-command = "pytest -vvv {project}/python_template_cppjswasm/tests"
Expand Down
Loading