Skip to content

Commit 66f40ef

Browse files
bearomorphismLee-W
authored andcommitted
build(mypy): remove disallow_untyped_defs because it's already done by ruff rules
1 parent 5c63ed6 commit 66f40ef

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

pyproject.toml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -215,18 +215,13 @@ convention = "google"
215215

216216
[tool.mypy]
217217
files = ["commitizen", "tests"]
218-
disallow_untyped_defs = true
219218
disallow_untyped_decorators = true
220219
disallow_subclassing_any = true
221220
warn_return_any = true
222221
warn_redundant_casts = true
223222
warn_unused_ignores = true
224223
warn_unused_configs = true
225224

226-
[[tool.mypy.overrides]]
227-
module = "tests/*"
228-
disallow_untyped_defs = false
229-
230225
[[tool.mypy.overrides]]
231226
module = "py.*" # Legacy pytest dependencies
232227
ignore_missing_imports = true

0 commit comments

Comments
 (0)