mirror of
https://github.com/esphome/esphome.git
synced 2025-09-02 19:32:19 +01:00
[ruff] Enable RET and fix all violations (#9929)
This commit is contained in:
@@ -69,7 +69,7 @@ def test_calculate_clang_tidy_hash() -> None:
|
||||
def read_file_mock(path: Path) -> bytes:
|
||||
if ".clang-tidy" in str(path):
|
||||
return clang_tidy_content
|
||||
elif "platformio.ini" in str(path):
|
||||
if "platformio.ini" in str(path):
|
||||
return platformio_content
|
||||
return b""
|
||||
|
||||
|
Reference in New Issue
Block a user