File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -74,15 +74,15 @@ format: fix
7474################
7575# Other Checks #
7676################
77- .PHONY: check-manifest check-dist checks check
78-
79- check-manifest: ## check python sdist manifest with check-manifest
80- check-manifest -v
77+ .PHONY: check-dist check-types checks check
8178
8279check-dist: ## check python sdist and wheel with check-dist
8380 check-dist -v
8481
85- checks: check-manifest
82+ check-types: ## check python types with ty
83+ ty check --python $$(which python)
84+
85+ checks: check-dist
8686
8787# alias
8888check: checks
Original file line number Diff line number Diff line change @@ -86,17 +86,6 @@ filename = "rust/Cargo.toml"
8686search = 'version = "{current_version}"'
8787replace = 'version = "{new_version}"'
8888
89- [tool.check-manifest]
90- ignore = [
91- ".copier-answers.yaml",
92- "Cargo.toml",
93- "Cargo.lock",
94- "Makefile",
95- "docs/**/*",
96- "rust/**/*",
97- "src/**/*",
98- ]
99-
10089[tool.cibuildwheel]
10190build = "cp310-*"
10291test-command = "pytest -vvv {project}/{{module}}/tests"
@@ -152,14 +141,13 @@ path = "."
152141[tool.hatch.build.targets.sdist]
153142packages = [
154143 "{{module}}",
155- ]
156- include = [
157144 "rust",
158145 "src",
159146 "Cargo.toml",
160147 "Cargo.lock",
161148]
162149exclude = [
150+ "rust/Makefile",
163151 "target",
164152]
165153
You can’t perform that action at this time.
0 commit comments