File tree Expand file tree Collapse file tree 1 file changed +23
-1
lines changed
Expand file tree Collapse file tree 1 file changed +23
-1
lines changed Original file line number Diff line number Diff line change @@ -503,7 +503,29 @@ noqa-require-code = True
503503
504504[mypy]
505505strict_optional = False
506- # exclude = pymodbus/client/base.py
506+ # exclude = pymodbus/client/base.py
507+
508+ # below are those used in HomeAssistant
509+ show_error_codes = true
510+ # follow_imports = silent
511+ # ignore_missing_imports = true
512+ local_partial_types = true
513+ strict_equality = true
514+ warn_incomplete_stub = true
515+ warn_redundant_casts = true
516+ warn_unused_configs = true
517+ warn_unused_ignores = true
518+ enable_error_code = ignore-without-code, redundant-self, truthy-iterable
519+ disable_error_code = annotation-unchecked
520+ strict_concatenate = false
521+ # check_untyped_defs = true
522+ # disallow_incomplete_defs = true
523+ disallow_subclassing_any = true
524+ # disallow_untyped_calls = true
525+ disallow_untyped_decorators = true
526+ # disallow_untyped_defs = true
527+ # warn_return_any = true
528+ warn_unreachable = true
507529
508530
509531[egg_info]
You can’t perform that action at this time.
0 commit comments