Skip to content

Commit

Permalink
🔧 Update mypy config, use strict = true instead of manual configs
Browse files Browse the repository at this point in the history
  • Loading branch information
michaeloliverx authored Aug 31, 2022
1 parent 75ce455 commit cc6ca53
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 @@ -83,21 +83,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 = "sqlmodel.sql.expression"
Expand Down

0 comments on commit cc6ca53

Please sign in to comment.