Skip to content

Commit 5c05b11

Browse files
fix ruff-format violation in vmlinux-gen.py
1 parent c02b769 commit 5c05b11

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

tools/vmlinux-gen.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -288,7 +288,9 @@ def widen_oversized_bitfields(m):
288288
return m.group(0)
289289
for width in (8, 16, 32, 64):
290290
if bits <= width:
291-
return f"('{name}', ctypes.{promoted_type_for_width[width]}, {bits})"
291+
return (
292+
f"('{name}', ctypes.{promoted_type_for_width[width]}, {bits})"
293+
)
292294
return m.group(0)
293295

294296
data = re.sub(

0 commit comments

Comments
 (0)