Skip to content

Commit a126553

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

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
@@ -76,21 +76,7 @@ skip_glob = [
7676

7777

7878
[tool.mypy]
79-
# --strict
80-
disallow_any_generics = true
81-
disallow_subclassing_any = true
82-
disallow_untyped_calls = true
83-
disallow_untyped_defs = true
84-
disallow_incomplete_defs = true
85-
check_untyped_defs = true
86-
disallow_untyped_decorators = true
87-
no_implicit_optional = true
88-
warn_redundant_casts = true
89-
warn_unused_ignores = true
90-
warn_return_any = true
91-
implicit_reexport = false
92-
strict_equality = true
93-
# --strict end
79+
strict = true
9480

9581
[[tool.mypy.overrides]]
9682
module = "docs_src.*"

0 commit comments

Comments
 (0)