Skip to content

Commit f9df10c

Browse files
committed
build(mypy): remove disallow_untyped_defs because it's already done by ruff rules
1 parent 93c5b66 commit f9df10c

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
@@ -211,18 +211,13 @@ convention = "google"
211211

212212
[tool.mypy]
213213
files = ["commitizen", "tests"]
214-
disallow_untyped_defs = true
215214
disallow_untyped_decorators = true
216215
disallow_subclassing_any = true
217216
warn_return_any = true
218217
warn_redundant_casts = true
219218
warn_unused_ignores = true
220219
warn_unused_configs = true
221220

222-
[[tool.mypy.overrides]]
223-
module = "tests/*"
224-
disallow_untyped_defs = false
225-
226221
[[tool.mypy.overrides]]
227222
module = "py.*" # Legacy pytest dependencies
228223
ignore_missing_imports = true

0 commit comments

Comments
 (0)