mirror of
https://github.com/esphome/esphome.git
synced 2025-09-16 10:12:21 +01:00
[ruff] Enable RET and fix all violations
This commit is contained in:
@@ -81,8 +81,7 @@ def _print_file_read_event(path: str) -> None:
|
||||
|
||||
def _request_and_get_stream_on_stdin(fname: str) -> StringIO:
|
||||
_print_file_read_event(fname)
|
||||
raw_yaml_stream = StringIO(_read_file_content_from_json_on_stdin())
|
||||
return raw_yaml_stream
|
||||
return StringIO(_read_file_content_from_json_on_stdin())
|
||||
|
||||
|
||||
def _vscode_loader(fname: str) -> dict[str, Any]:
|
||||
|
Reference in New Issue
Block a user