Fix typos found by codespell (#31243)

* Fix typos found by codespell

* Fix typos found by codespell

* codespell: Furture  ==> Future

* Update test_config_flow.py

* Update __init__.py

* Spellcheck: successfull  ==> successful

* Codespell: unsuccesful  ==> unsuccessful

* Codespell: cant  ==> can't

* Codespell: firware ==> firmware

* Codespell: mimick  ==> mimic
This commit is contained in:
Christian Clauss authored and GitHub committed 2020-01-31 08:33:00 -08:00
1 parent a017c26234
commit df7d2b3aeb
121 files changed
+170 -156

No files matched your search

+3 -3
View File
@@ -56,7 +56,7 @@ def gather_info(arguments) -> Info:
YES_NO = {
"validators": [["Type either 'yes' or 'no'", lambda value: value in ("yes", "no")]],
"convertor": lambda value: value == "yes",
"converter": lambda value: value == "yes",
}
@@ -155,8 +155,8 @@ def _gather_info(fields) -> dict:
break
if hint is None:
if "convertor" in info:
value = info["convertor"](value)
if "converter" in info:
value = info["converter"](value)
answers[key] = value
return answers