Skip to content

Commit

Permalink
mypy: simplify configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
mr-c committed Apr 25, 2024
1 parent 01a8235 commit 2eb1537
Showing 1 changed file with 2 additions and 16 deletions.
18 changes: 2 additions & 16 deletions mypy.ini
Original file line number Diff line number Diff line change
@@ -1,24 +1,10 @@
[mypy]
strict = True
show_error_context = true
show_column_numbers = true
show_error_codes = true
pretty = true

# --strict options as of mypy 0.910
warn_unused_configs = True
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
warn_unreachable = True

[mypy-ruamel.*]
ignore_errors = True

0 comments on commit 2eb1537

Please sign in to comment.