diff --git a/.copier-answers.yml b/.copier-answers.yml index 1629540..b2a4460 100644 --- a/.copier-answers.yml +++ b/.copier-answers.yml @@ -1,5 +1,5 @@ # Changes here will be overwritten by Copier -_commit: 325b8b8 +_commit: 37ad578 _src_path: https://github.com/python-project-templates/base.git add_extension: jupyter email: 3105306+timkpaine@users.noreply.github.com diff --git a/Makefile b/Makefile index b03e20a..e6bb54d 100644 --- a/Makefile +++ b/Makefile @@ -55,7 +55,7 @@ format: fix ################ # Other Checks # ################ -.PHONY: check-manifest checks check annotate +.PHONY: check-manifest checks check check-manifest: ## check python sdist manifest with check-manifest check-manifest -v @@ -65,9 +65,6 @@ checks: check-manifest # alias check: checks -annotate: ## run python type annotation checks with mypy - python -m mypy ./python_template_jupyter - ######### # TESTS # ######### diff --git a/pyproject.toml b/pyproject.toml index f85596c..523eb4d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -78,6 +78,7 @@ ignore = [ "setup.py", "python_template_jupyter/labextension/**", "python_template_jupyter/nbextension/**", + "docs/**/*", ] [tool.coverage.run] @@ -104,32 +105,14 @@ artifacts = [ src = "/" [tool.hatch.build.targets.sdist] -include = [ - "/python_template_jupyter", - "/js", - "LICENSE", - "README.md", -] +packages = ["python_template_jupyter", "js"] exclude = [ - ".copier-answers.yml", - "/.github", - "/.gitattributes", - "/.gitignore", + "/js/dist", "/js/node_modules", ] [tool.hatch.build.targets.wheel] -include = [ - "/python_template_jupyter", -] -exclude = [ - ".copier-answers.yml", - "/.github", - "/.gitattributes", - "/.gitignore", - "/js/node_modules", - "/pyproject.toml", -] +packages = ["python_template_jupyter"] [tool.hatch.build.targets.wheel.shared-data] "python_template_jupyter/labextension" = "share/jupyter/labextensions/python_template_jupyter"