Skip to content

Commit

Permalink
🔧 Update mypy config, use strict = true instead of manual configs (#38
Browse files Browse the repository at this point in the history
)

Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
  • Loading branch information
michaeloliverx and tiangolo committed Nov 4, 2022
1 parent 295568d commit a126553
Showing 1 changed file with 1 addition and 15 deletions.
16 changes: 1 addition & 15 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -76,21 +76,7 @@ skip_glob = [


[tool.mypy]
# --strict
disallow_any_generics = true
disallow_subclassing_any = true
disallow_untyped_calls = true
disallow_untyped_defs = true
disallow_incomplete_defs = true
check_untyped_defs = true
disallow_untyped_decorators = true
no_implicit_optional = true
warn_redundant_casts = true
warn_unused_ignores = true
warn_return_any = true
implicit_reexport = false
strict_equality = true
# --strict end
strict = true

[[tool.mypy.overrides]]
module = "docs_src.*"
Expand Down

0 comments on commit a126553

Please sign in to comment.