Skip to content

Commit a446d93

Browse files
authored
Merge pull request #117 from python-project-templates/tkp/cd
check-dist and ty for pure python template
2 parents eb83fb1 + 6b4a229 commit a446d93

2 files changed

Lines changed: 5 additions & 13 deletions

File tree

python/Makefile.jinja

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -46,15 +46,15 @@ format: fix
4646
################
4747
# Other Checks #
4848
################
49-
.PHONY: check-manifest check-dist checks check
50-
51-
check-manifest: ## check python sdist manifest with check-manifest
52-
check-manifest -v
49+
.PHONY: check-dist check-types checks check
5350

5451
check-dist: ## check python sdist and wheel with check-dist
5552
check-dist -v
5653

57-
checks: check-manifest
54+
check-types: ## check python types with ty
55+
ty check --python $$(which python)
56+
57+
checks: check-dist
5858

5959
# Alias
6060
check: checks

python/pyproject.toml.jinja

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,6 @@ develop = [
3636
"build",
3737
"bump-my-version",
3838
"check-dist",
39-
"check-manifest",
4039
"codespell",
4140
"hatchling",
4241
"mdformat",
@@ -72,13 +71,6 @@ filename = "pyproject.toml"
7271
search = 'version = "{current_version}"'
7372
replace = 'version = "{new_version}"'
7473

75-
[tool.check-manifest]
76-
ignore = [
77-
".copier-answers.yaml",
78-
"Makefile",
79-
"docs/**/*",
80-
]
81-
8274
[tool.coverage.run]
8375
branch = true
8476
omit = [

0 commit comments

Comments
 (0)