1
0
mirror of https://github.com/esphome/esphome.git synced 2025-09-01 10:52:19 +01:00

Bump ruff from 0.9.2 to 0.11.0 (#8409)

This commit is contained in:
dependabot[bot]
2025-03-20 09:51:23 -10:00
committed by GitHub
parent 6ea89644e7
commit 4adda632bb
651 changed files with 1962 additions and 2270 deletions

View File

@@ -17,12 +17,12 @@ then run this script with python3 and the files
will be generated, they still need to be formatted
"""
import os
import re
import sys
from abc import ABC, abstractmethod
import os
from pathlib import Path
import re
from subprocess import call
import sys
from textwrap import dedent
# Generate with
@@ -528,7 +528,7 @@ class RepeatedTypeInfo(TypeInfo):
@property
def dump_content(self):
o = f'for (const auto {"" if self._ti_is_bool else "&"}it : this->{self.field_name}) {{\n'
o = f"for (const auto {'' if self._ti_is_bool else '&'}it : this->{self.field_name}) {{\n"
o += f' out.append(" {self.name}: ");\n'
o += indent(self._ti.dump("it")) + "\n"
o += ' out.append("\\n");\n'