Skip to content

Commit b74d39f

Browse files
committed
Reformat Python
1 parent 6ea03b4 commit b74d39f

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

libc/utils/hdrgen/header.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,10 @@ def includes(self):
4141
for macro in self.macros
4242
if macro.header is not None
4343
}
44-
| {PurePosixPath("llvm-libc-types") / f"{typ.type_name}.h" for typ in self.types}
44+
| {
45+
PurePosixPath("llvm-libc-types") / f"{typ.type_name}.h"
46+
for typ in self.types
47+
}
4548
)
4649

4750
def public_api(self):
@@ -53,10 +56,7 @@ def relpath(file):
5356

5457
content = [
5558
f"#include {file}"
56-
for file in sorted(
57-
f'"{relpath(file)!s}"'
58-
for file in self.includes()
59-
)
59+
for file in sorted(f'"{relpath(file)!s}"' for file in self.includes())
6060
]
6161

6262
for macro in self.macros:

0 commit comments

Comments
 (0)