mirror of
https://github.com/esphome/esphome.git
synced 2025-09-06 05:12:21 +01:00
[code-quality] Apply ruff linting suggestions (#7206)
This commit is contained in:
@@ -91,7 +91,7 @@ _LOGGER = logging.getLogger(__name__)
|
||||
|
||||
# pylint: disable=consider-using-f-string
|
||||
VARIABLE_PROG = re.compile(
|
||||
"\\$([{0}]+|\\{{[{0}]*\\}})".format(VALID_SUBSTITUTIONS_CHARACTERS)
|
||||
f"\\$([{VALID_SUBSTITUTIONS_CHARACTERS}]+|\\{{[{VALID_SUBSTITUTIONS_CHARACTERS}]*\\}})"
|
||||
)
|
||||
|
||||
# pylint: disable=invalid-name
|
||||
|
Reference in New Issue
Block a user