1
0
mirror of https://github.com/home-assistant/core.git synced 2026-05-08 09:38:58 +01:00

Move overlapping pylint rules to ruff, disable mypy overlap (#94359)

This commit is contained in:
Franck Nijhof
2023-06-27 17:42:46 +02:00
committed by GitHub
parent 7c676c0a7d
commit 3e85a29b86
88 changed files with 537 additions and 357 deletions
+2 -2
View File
@@ -162,8 +162,8 @@ def _gather_info(fields) -> dict:
if "default" in info:
msg += f" [{info['default']}]"
value = input(f"{msg}\n> ")
except (KeyboardInterrupt, EOFError):
raise ExitApp("Interrupted!", 1)
except (KeyboardInterrupt, EOFError) as err:
raise ExitApp("Interrupted!", 1) from err
value = value.strip()