Skip to content

Commit 1062e1b

Browse files
Michael Olivertiangolo
andauthored
🔧 Update mypy config, use strict = true instead of manual configs (#428)
Co-authored-by: Sebastián Ramírez <[email protected]>
1 parent 8e55ea5 commit 1062e1b

File tree

1 file changed

+1
-15
lines changed

1 file changed

+1
-15
lines changed

‎pyproject.toml‎

Lines changed: 1 addition & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -73,21 +73,7 @@ exclude_lines = [
7373
]
7474

7575
[tool.mypy]
76-
# --strict
77-
disallow_any_generics = true
78-
disallow_subclassing_any = true
79-
disallow_untyped_calls = true
80-
disallow_untyped_defs = true
81-
disallow_incomplete_defs = true
82-
check_untyped_defs = true
83-
disallow_untyped_decorators = true
84-
no_implicit_optional = true
85-
warn_redundant_casts = true
86-
warn_unused_ignores = true
87-
warn_return_any = true
88-
implicit_reexport = false
89-
strict_equality = true
90-
# --strict end
76+
strict = true
9177

9278
[[tool.mypy.overrides]]
9379
module = "sqlmodel.sql.expression"

0 commit comments

Comments
 (0)