Skip to content

Commit

Permalink
Simplify mypy settings (#12823)
Browse files Browse the repository at this point in the history
  • Loading branch information
danieleades authored Aug 31, 2024
1 parent 6a07bfc commit bb2c4e9
Showing 1 changed file with 3 additions and 13 deletions.
16 changes: 3 additions & 13 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -196,22 +196,12 @@ exclude = [
"^tests/test_util/typing_test_data\\.py$",
# tests/test_writers
]
check_untyped_defs = true
python_version = "3.10"
strict = true
show_column_numbers = true
show_error_context = true
strict_optional = true
warn_redundant_casts = true
warn_unused_configs = true
warn_unused_ignores = true
disallow_any_generics = true
disallow_incomplete_defs = true
disallow_subclassing_any = true
disallow_untyped_calls = true
disallow_untyped_decorators = true
disallow_untyped_defs = true
no_implicit_reexport = true
extra_checks = true
strict_equality = false
warn_return_any = false
enable_error_code = [
"type-arg",
"redundant-self",
Expand Down

0 comments on commit bb2c4e9

Please sign in to comment.