File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -61,15 +61,15 @@ format: fix
6161################
6262# Other Checks #
6363################
64- .PHONY: check-manifest check-dist checks check
65-
66- check-manifest: ## check python sdist manifest with check-manifest
67- check-manifest -v
64+ .PHONY: check-dist check-types checks check
6865
6966check-dist: ## check python sdist and wheel with check-dist
7067 check-dist -v
7168
72- checks: check-manifest
69+ check-types: ## check python types with ty
70+ ty check --python $$(which python)
71+
72+ checks: check-dist
7373
7474# alias
7575check: checks
Original file line number Diff line number Diff line change @@ -38,7 +38,6 @@ develop = [
3838 "build",
3939 "bump-my-version",
4040 "check-dist",
41- "check-manifest",
4241 "cibuildwheel",
4342 "codespell",
4443 "hatch-cpp",
@@ -77,17 +76,6 @@ filename = "pyproject.toml"
7776search = 'version = "{current_version}"'
7877replace = 'version = "{new_version}"'
7978
80- [tool.check-manifest]
81- ignore = [
82- ".copier-answers.yaml",
83- ".clang-format",
84- "Makefile",
85- "docs/**/*",
86- "{{module}}/*.dll",
87- "{{module}}/*.dylib",
88- "{{module}}/*.so",
89- ]
90-
9179[tool.cibuildwheel]
9280build = "cp310-* cp311-* cp312-* cp313-*"
9381test-command = "echo 'TODO'"
Original file line number Diff line number Diff line change @@ -91,15 +91,15 @@ format: fix
9191################
9292# Other Checks #
9393################
94- .PHONY: check-manifest check-dist checks check
95-
96- check-manifest: ## check python sdist manifest with check-manifest
97- check-manifest -v
94+ .PHONY: check-dist check-types checks check
9895
9996check-dist: ## check python sdist and wheel with check-dist
10097 check-dist -v
10198
102- checks: check-manifest
99+ check-types: ## check python types with ty
100+ ty check --python $$(which python)
101+
102+ checks: check-dist
103103
104104# alias
105105check: checks
Original file line number Diff line number Diff line change @@ -40,7 +40,6 @@ develop = [
4040 "build",
4141 "bump-my-version",
4242 "check-dist",
43- "check-manifest",
4443 "cibuildwheel",
4544 "codespell",
4645 "hatch-cpp<0 .3 " ,
@@ -85,21 +84,6 @@ filename = "js/package.json"
8584search = '"version": "{current_version}"'
8685replace = '"version": "{new_version}"'
8786
88- [tool.check-manifest]
89- ignore = [
90- ".copier-answers.yaml",
91- ".clang-format",
92- "js/pnpm-lock.yaml",
93- "Makefile",
94- ".vscode/*",
95- "{{module}}/extension/**/*",
96- "{{module}}/*.dll",
97- "{{module}}/*.dylib",
98- "{{module}}/*.so",
99- "docs/**/*",
100- "js/dist/**/*",
101- ]
102-
10387[tool.cibuildwheel]
10488build = "cp310-*"
10589test-command = "pytest -vvv {project}/{{module}}/tests"
You can’t perform that action at this time.
0 commit comments