diff --git a/.copier-answers.yaml b/.copier-answers.yaml index d11ffca..6e6460b 100644 --- a/.copier-answers.yaml +++ b/.copier-answers.yaml @@ -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: cpp diff --git a/.gitignore b/.gitignore index a336ea5..d780074 100644 --- a/.gitignore +++ b/.gitignore @@ -141,14 +141,12 @@ js/node_modules js/test-results js/playwright-report js/*.tgz -python_template_cpp/extension # Jupyter .ipynb_checkpoints .autoversion Untitled*.ipynb -!python_template_cpp/extension/python_template_cpp.json -!python_template_cpp/extension/install.json +python_template_cpp/extension python_template_cpp/nbextension python_template_cpp/labextension @@ -157,3 +155,7 @@ python_template_cpp/labextension # Rust target + +# Hydra +outputs/ +multirun/ diff --git a/Makefile b/Makefile index 5463fc5..563e3f7 100644 --- a/Makefile +++ b/Makefile @@ -61,12 +61,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 diff --git a/pyproject.toml b/pyproject.toml index e5f7ff3..777051b 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -37,17 +37,17 @@ dependencies = [] develop = [ "build", "bump-my-version", - "check-manifest", + "check-dist", "cibuildwheel", - "codespell>=2.4,<2.5", + "codespell", "hatch-cpp", "hatchling", - "mdformat>=0.7.22,<1.1", + "mdformat", "mdformat-tables>=1", "pybind11", "pytest", "pytest-cov", - "ruff>=0.9,<0.15", + "ruff", "twine", "ty", "uv", @@ -76,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/**/*", - "python_template_cpp/*.dll", - "python_template_cpp/*.dylib", - "python_template_cpp/*.so", -] - [tool.cibuildwheel] build = "cp310-* cp311-* cp312-* cp313-*" test-command = "echo 'TODO'"