From 454f2d8916123102aad002e90cf9f9f0060b06a1 Mon Sep 17 00:00:00 2001 From: Andre Basche Date: Sat, 22 Jul 2023 12:39:50 +0200 Subject: [PATCH] Use equal mypy cnofig as home assistant --- mypy.ini | 30 ++++++++++++++++++++---------- 1 file changed, 20 insertions(+), 10 deletions(-) diff --git a/mypy.ini b/mypy.ini index 0617b6b..50757c9 100644 --- a/mypy.ini +++ b/mypy.ini @@ -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 \ No newline at end of file +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