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

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Update from copier (2024-12-01T05:16:25)
  • Loading branch information
github-actions[bot] committed Dec 1, 2024
commit b7607adf37e420f3f178a30a8fe9f655b21792e2
2 changes: 1 addition & 1 deletion .copier-answers.yml
Original file line number Diff line number Diff line change
@@ -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
Expand Down
5 changes: 1 addition & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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 #
#########
Expand Down
25 changes: 4 additions & 21 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ ignore = [
"setup.py",
"python_template_jupyter/labextension/**",
"python_template_jupyter/nbextension/**",
"docs/**/*",
]

[tool.coverage.run]
Expand All @@ -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"
Expand Down
Loading