diff --git a/cpp/Makefile.jinja b/cpp/Makefile.jinja index 12b759d..9be1ca0 100644 --- a/cpp/Makefile.jinja +++ b/cpp/Makefile.jinja @@ -61,15 +61,15 @@ format: fix ################ # Other Checks # ################ -.PHONY: check-manifest check-dist checks check - -check-manifest: ## check python sdist manifest with check-manifest - check-manifest -v +.PHONY: check-dist check-types checks check 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 diff --git a/cpp/pyproject.toml.jinja b/cpp/pyproject.toml.jinja index ff71b94..0f87d8c 100644 --- a/cpp/pyproject.toml.jinja +++ b/cpp/pyproject.toml.jinja @@ -38,7 +38,6 @@ develop = [ "build", "bump-my-version", "check-dist", - "check-manifest", "cibuildwheel", "codespell", "hatch-cpp", @@ -77,17 +76,6 @@ filename = "pyproject.toml" search = 'version = "{current_version}"' replace = 'version = "{new_version}"' -[tool.check-manifest] -ignore = [ - ".copier-answers.yaml", - ".clang-format", - "Makefile", - "docs/**/*", - "{{module}}/*.dll", - "{{module}}/*.dylib", - "{{module}}/*.so", -] - [tool.cibuildwheel] build = "cp310-* cp311-* cp312-* cp313-*" test-command = "echo 'TODO'" diff --git a/cppjswasm/Makefile.jinja b/cppjswasm/Makefile.jinja index 1ae7a19..32d819c 100644 --- a/cppjswasm/Makefile.jinja +++ b/cppjswasm/Makefile.jinja @@ -91,15 +91,15 @@ format: fix ################ # Other Checks # ################ -.PHONY: check-manifest check-dist checks check - -check-manifest: ## check python sdist manifest with check-manifest - check-manifest -v +.PHONY: check-dist check-types checks check 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 diff --git a/cppjswasm/pyproject.toml.jinja b/cppjswasm/pyproject.toml.jinja index e68e959..ac6c659 100644 --- a/cppjswasm/pyproject.toml.jinja +++ b/cppjswasm/pyproject.toml.jinja @@ -40,7 +40,6 @@ develop = [ "build", "bump-my-version", "check-dist", - "check-manifest", "cibuildwheel", "codespell", "hatch-cpp<0.3", @@ -85,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/*", - "{{module}}/extension/**/*", - "{{module}}/*.dll", - "{{module}}/*.dylib", - "{{module}}/*.so", - "docs/**/*", - "js/dist/**/*", -] - [tool.cibuildwheel] build = "cp310-*" test-command = "pytest -vvv {project}/{{module}}/tests"