Skip to content

Commit 8cb998a

Browse files
author
autoruff
committed
fixup: nitpicks Python code fixed using ruff
1 parent be8db47 commit 8cb998a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plugwise/util.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,7 @@ def get_vendor_name(module: etree, model_data: ModuleData) -> ModuleData:
225225

226226
def parse_escapes(text):
227227
"""Helper-function for get_vendor_name()."""
228-
fixed_escapes = re.sub(r'(?<!\\)(\\\\)*("|\\$)', r'\\\1\2', text)
228+
fixed_escapes = re.sub(r'(?<!\\)(\\\\)*("|\\$)', r"\\\1\2", text)
229229
return ast.literal_eval(f'"{fixed_escapes}"')
230230

231231

0 commit comments

Comments
 (0)