File tree Expand file tree Collapse file tree 3 files changed +13
-17
lines changed
Expand file tree Collapse file tree 3 files changed +13
-17
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 : a446d93
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 @@ -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 = " python-template"
@@ -35,14 +35,14 @@ dependencies = []
3535develop = [
3636 " build" ,
3737 " bump-my-version" ,
38- " check-manifest " ,
39- " codespell>=2.4,<2.5 " ,
38+ " check-dist " ,
39+ " codespell" ,
4040 " hatchling" ,
41- " mdformat>=0.7.22,<1.1 " ,
41+ " mdformat" ,
4242 " mdformat-tables>=1" ,
4343 " pytest" ,
4444 " pytest-cov" ,
45- " ruff>=0.9,<0.15 " ,
45+ " ruff" ,
4646 " twine" ,
4747 " ty" ,
4848 " uv" ,
@@ -71,13 +71,6 @@ filename = "pyproject.toml"
7171search = ' version = "{current_version}"'
7272replace = ' version = "{new_version}"'
7373
74- [tool .check-manifest ]
75- ignore = [
76- " .copier-answers.yaml" ,
77- " Makefile" ,
78- " docs/**/*" ,
79- ]
80-
8174[tool .coverage .run ]
8275branch = true
8376omit = [
You can’t perform that action at this time.
0 commit comments