Skip to content

Commit

Permalink
Use equal mypy cnofig as home assistant
Browse files Browse the repository at this point in the history
  • Loading branch information
Andre0512 committed Jul 22, 2023
1 parent 59ca8b6 commit 454f2d8
Showing 1 changed file with 20 additions and 10 deletions.
30 changes: 20 additions & 10 deletions mypy.ini
Original file line number Diff line number Diff line change
@@ -1,15 +1,25 @@
[mypy]
check_untyped_defs = True
disallow_any_generics = True
disallow_untyped_defs = True
disallow_any_unimported = True
no_implicit_optional = True
warn_return_any = True
show_error_codes = True
warn_unused_ignores = True

check_untyped_defs = true
disallow_any_generics = true
disallow_any_unimported = true
disallow_incomplete_defs = true
disallow_subclassing_any = true
disallow_untyped_calls = true
disallow_untyped_decorators = true
warn_unreachable = true
disallow_untyped_defs = true
disable_error_code = annotation-unchecked
enable_error_code = ignore-without-code, redundant-self, truthy-iterable
follow_imports = silent
ignore_missing_imports = true
local_partial_types = true
no_implicit_optional = true
no_implicit_reexport = true
show_error_codes = true
strict_concatenate = false
strict_equality = true
warn_incomplete_stub = true
warn_redundant_casts = true
warn_return_any = true
warn_unreachable = true
warn_unused_configs = true
warn_unused_ignores = true

0 comments on commit 454f2d8

Please sign in to comment.