File tree Expand file tree Collapse file tree 5 files changed +21
-22
lines changed
Expand file tree Collapse file tree 5 files changed +21
-22
lines changed Original file line number Diff line number Diff line change 11# Changes here will be overwritten by Copier
2- _commit : 37f89c1
2+ _commit : 4d4d95a
33_src_path : https://github.com/python-project-templates/base.git
44add_docs : true
55add_extension : python
Original file line number Diff line number Diff line change 5555 run : make coverage
5656
5757 - name : Upload test results (Python)
58- uses : actions/upload-artifact@v6
58+ uses : actions/upload-artifact@v7
5959 with :
6060 name : test-results-${{ matrix.os }}-${{ matrix.python-version }}
6161 path : junit.xml
7474 - name : Make dist
7575 run : make dist
7676
77- - uses : actions/upload-artifact@v6
77+ - uses : actions/upload-artifact@v7
7878 with :
7979 name : dist-${{matrix.os}}
8080 path : dist
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- hatch_multi /extension
145144
146145# Jupyter
147146.ipynb_checkpoints
148147.autoversion
149148Untitled * .ipynb
150- ! hatch_multi /extension /hatch_multi.json
151- ! hatch_multi /extension /install.json
149+ hatch_multi /extension
152150hatch_multi /nbextension
153151hatch_multi /labextension
154152
@@ -157,3 +155,7 @@ hatch_multi/labextension
157155
158156# Rust
159157target
158+
159+ # Hydra
160+ outputs /
161+ multirun /
Original file line number Diff line number Diff line change @@ -46,12 +46,15 @@ format: fix
4646# ###############
4747# Other Checks #
4848# ###############
49- .PHONY : check-manifest checks check
49+ .PHONY : check-dist check-types checks check
5050
51- check-manifest : # # check python sdist manifest with check-manifest
52- check-manifest -v
51+ check-dist : # # check python sdist and wheel with check-dist
52+ check-dist -v
5353
54- checks : check-manifest
54+ check-types : # # check python types with ty
55+ ty check --python $$(which python )
56+
57+ checks : check-dist
5558
5659# Alias
5760check : checks
Original file line number Diff line number Diff line change 22requires = [
33 " hatchling" ,
44]
5- build-backend = " hatchling.build"
5+ build-backend = " hatchling.build"
66
77[project ]
88name = " hatch-multi"
@@ -41,14 +41,14 @@ multi = "hatch_multi.hooks"
4141develop = [
4242 " build" ,
4343 " bump-my-version" ,
44- " check-manifest " ,
45- " codespell>=2.4,<2.5 " ,
44+ " check-dist " ,
45+ " codespell" ,
4646 " hatchling" ,
47- " mdformat>=0.7.22,<1.1 " ,
47+ " mdformat" ,
4848 " mdformat-tables>=1" ,
4949 " pytest" ,
5050 " pytest-cov" ,
51- " ruff>=0.9,<0.16 " ,
51+ " ruff" ,
5252 " twine" ,
5353 " ty" ,
5454 " uv" ,
@@ -77,17 +77,11 @@ filename = "pyproject.toml"
7777search = ' version = "{current_version}"'
7878replace = ' version = "{new_version}"'
7979
80- [tool .check-manifest ]
81- ignore = [
82- " .copier-answers.yaml" ,
83- " Makefile" ,
84- " docs/**/*" ,
85- ]
86-
8780[tool .coverage .run ]
8881omit = [
8982 " hatch_multi/tests/integration/" ,
9083]
84+
9185[tool .coverage .report ]
9286exclude_also = [
9387 " raise NotImplementedError" ,
You can’t perform that action at this time.
0 commit comments