Skip to content

Commit 3ae265f

Browse files
committed
build(mypy): remove disallow_untyped_defs because it's already done by ruff rules
1 parent 3274e79 commit 3ae265f

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

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

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

0 commit comments

Comments
 (0)