File tree Expand file tree Collapse file tree 7 files changed +22
-30
lines changed
Expand file tree Collapse file tree 7 files changed +22
-30
lines changed Original file line number Diff line number Diff line change 11# Changes here will be overwritten by Copier
2- _commit : b3bc450
2+ _commit : 08a244d
33_src_path : https://github.com/python-project-templates/base.git
44add_docs : true
55add_extension : jupyter
Original file line number Diff line number Diff line change @@ -141,14 +141,12 @@ js/node_modules
141141js /test-results
142142js /playwright-report
143143js /* .tgz
144- python_template_jupyter /extension
145144
146145# Jupyter
147146.ipynb_checkpoints
148147.autoversion
149148Untitled * .ipynb
150- ! python_template_jupyter /extension /python_template_jupyter.json
151- ! python_template_jupyter /extension /install.json
149+ python_template_jupyter /extension
152150python_template_jupyter /nbextension
153151python_template_jupyter /labextension
154152
@@ -157,3 +155,7 @@ python_template_jupyter/labextension
157155
158156# Rust
159157target
158+
159+ # Hydra
160+ outputs /
161+ multirun /
Original file line number Diff line number Diff line change @@ -73,12 +73,15 @@ format: fix
7373# ###############
7474# Other Checks #
7575# ###############
76- .PHONY : check-manifest checks check
76+ .PHONY : check-dist check-types checks check
7777
78- check-manifest : # # check python sdist manifest with check-manifest
79- check-manifest -v
78+ check-dist : # # check python sdist and wheel with check-dist
79+ check-dist -v
8080
81- checks : check-manifest
81+ check-types : # # check python types with ty
82+ ty check --python $$(which python )
83+
84+ checks : check-dist
8285
8386# alias
8487check : checks
Original file line number Diff line number Diff line change 3131 },
3232 "scripts" : {
3333 "build:babel" : " babel src/ --source-maps --out-dir lib/" ,
34+ "build:extension" : " mkdirp ../python_template_jupyter/extension/ && cpy --flat 'src/extension/*' '../python_template_jupyter/extension/'" ,
3435 "build:nbextension" : " mkdirp ../python_template_jupyter/nbextension/static/ && cpy --flat 'src/notebook.js' '../python_template_jupyter/nbextension/static/'" ,
3536 "build:labextension" : " rimraf ../python_template_jupyter/labextension && jupyter labextension build ." ,
36- "build" : " pnpm clean && pnpm build:babel && pnpm build:labextension && pnpm build:nbextension" ,
37+ "build" : " pnpm clean && pnpm build:babel && pnpm build:extension && pnpm build: labextension && pnpm build:nbextension" ,
3738 "clean" : " rimraf lib" ,
3839 "fix" : " pnpm lint --fix" ,
3940 "lint" : " eslint -c .eslintrc.js --ext .js src/ tests/" ,
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change @@ -39,16 +39,16 @@ dependencies = []
3939develop = [
4040 " build" ,
4141 " bump-my-version" ,
42- " check-manifest " ,
43- " codespell>=2.4,<2.5 " ,
42+ " check-dist " ,
43+ " codespell" ,
4444 " hatch-js" ,
4545 " hatchling" ,
46- " mdformat>=0.7.22,<1.1 " ,
46+ " mdformat" ,
4747 " mdformat-tables>=1" ,
4848 " jupyterlab>=4,<5" ,
4949 " pytest" ,
5050 " pytest-cov" ,
51- " ruff>=0.9,<0.15 " ,
51+ " ruff" ,
5252 " twine" ,
5353 " ty" ,
5454 " uv" ,
@@ -82,20 +82,6 @@ filename = "js/package.json"
8282search = ' "version": "{current_version}"'
8383replace = ' "version": "{new_version}"'
8484
85- [tool .check-manifest ]
86- ignore = [
87- " .copier-answers.yaml" ,
88- " js/pnpm-lock.yaml" ,
89- " Makefile" ,
90- " .vscode/*" ,
91- " python_template_jupyter/extension/**" ,
92- " python_template_jupyter/labextension/**" ,
93- " python_template_jupyter/nbextension/**" ,
94- " docs/**/*" ,
95- " js/dist/**/*" ,
96- " js/lib/*" ,
97- ]
98-
9985[tool .coverage .run ]
10086branch = true
10187omit = [
@@ -125,16 +111,16 @@ packages = [
125111 " js" ,
126112]
127113exclude = [
128- " / js/dist" ,
129- " / js/node_modules" ,
114+ " js/dist" ,
115+ " js/node_modules" ,
130116]
131117
132118[tool .hatch .build .targets .wheel ]
133119packages = [
134120 " python_template_jupyter" ,
135121]
136122exclude = [
137- " / js"
123+ " js"
138124]
139125
140126[tool .hatch .build .targets .wheel .shared-data ]
You can’t perform that action at this time.
0 commit comments