Skip to content

Commit ac757f7

Browse files
authored
Merge pull request #17 from python-project-templates/copier-update-2024-12-01T05-16-25
Update from copier (2024-12-01T05:16:25)
2 parents 88768cc + b7607ad commit ac757f7

File tree

3 files changed

+6
-26
lines changed

3 files changed

+6
-26
lines changed

.copier-answers.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Changes here will be overwritten by Copier
2-
_commit: 325b8b8
2+
_commit: 37ad578
33
_src_path: https://github.com/python-project-templates/base.git
44
add_extension: jupyter
55

Makefile

+1-4
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ format: fix
5555
################
5656
# Other Checks #
5757
################
58-
.PHONY: check-manifest checks check annotate
58+
.PHONY: check-manifest checks check
5959

6060
check-manifest: ## check python sdist manifest with check-manifest
6161
check-manifest -v
@@ -65,9 +65,6 @@ checks: check-manifest
6565
# alias
6666
check: checks
6767

68-
annotate: ## run python type annotation checks with mypy
69-
python -m mypy ./python_template_jupyter
70-
7168
#########
7269
# TESTS #
7370
#########

pyproject.toml

+4-21
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,7 @@ ignore = [
7878
"setup.py",
7979
"python_template_jupyter/labextension/**",
8080
"python_template_jupyter/nbextension/**",
81+
"docs/**/*",
8182
]
8283

8384
[tool.coverage.run]
@@ -104,32 +105,14 @@ artifacts = [
104105
src = "/"
105106

106107
[tool.hatch.build.targets.sdist]
107-
include = [
108-
"/python_template_jupyter",
109-
"/js",
110-
"LICENSE",
111-
"README.md",
112-
]
108+
packages = ["python_template_jupyter", "js"]
113109
exclude = [
114-
".copier-answers.yml",
115-
"/.github",
116-
"/.gitattributes",
117-
"/.gitignore",
110+
"/js/dist",
118111
"/js/node_modules",
119112
]
120113

121114
[tool.hatch.build.targets.wheel]
122-
include = [
123-
"/python_template_jupyter",
124-
]
125-
exclude = [
126-
".copier-answers.yml",
127-
"/.github",
128-
"/.gitattributes",
129-
"/.gitignore",
130-
"/js/node_modules",
131-
"/pyproject.toml",
132-
]
115+
packages = ["python_template_jupyter"]
133116

134117
[tool.hatch.build.targets.wheel.shared-data]
135118
"python_template_jupyter/labextension" = "share/jupyter/labextensions/python_template_jupyter"

0 commit comments

Comments
 (0)