Skip to content

Commit 32836b2

Browse files
committed
build(mypy): remove disallow_untyped_defs because it's already done by ruff rules
1 parent 95c50e3 commit 32836b2

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

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

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

0 commit comments

Comments
 (0)