mirror of
https://github.com/esphome/esphome.git
synced 2025-10-22 11:43:51 +01:00
[ruff] Enable RET and fix all violations (#9929)
This commit is contained in:
@@ -305,8 +305,7 @@ class ESPHomeLoaderMixin:
|
||||
result = self.yaml_loader(self._rel_path(file))
|
||||
if not vars:
|
||||
vars = {}
|
||||
result = substitute_vars(result, vars)
|
||||
return result
|
||||
return substitute_vars(result, vars)
|
||||
|
||||
@_add_data_ref
|
||||
def construct_include_dir_list(self, node: yaml.Node) -> list[dict[str, Any]]:
|
||||
|
Reference in New Issue
Block a user