ruff: use single quotes for multiline strings

This commit is contained in:
Yu Watanabe
2026-05-18 02:32:39 +09:00
parent aa0f03eb03
commit c54decc406
6 changed files with 53 additions and 47 deletions
+2 -2
View File
@@ -30,12 +30,12 @@ with open(header) as file:
enumName = ''
if output == 'doc':
print("""\
print('''\
<?xml version="1.0"?>
<!DOCTYPE bpf-delegates PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd">
<para>
""")
''')
for line in file:
line = line.strip()