[libc-commits] [libc] [libc] added newhdrgen python script and class file (PR #96671)
via libc-commits
libc-commits at lists.llvm.org
Tue Jun 25 12:53:39 PDT 2024
github-actions[bot] wrote:
<!--LLVM CODE FORMAT COMMENT: {darker}-->
:warning: Python code formatter, darker found issues in your code. :warning:
<details>
<summary>
You can test this locally with the following command:
</summary>
``````````bash
darker --check --diff -r 39a0aa5876c20ef245fc4065b9f512008fac91a6...4fe3cc2fb2022bd9e18b1f7225a4ae1536854f02 libc/newhdrgen/header.py libc/newhdrgen/yaml_to_classes.py
``````````
</details>
<details>
<summary>
View the diff from darker here.
</summary>
``````````diff
--- yaml_to_classes.py 2024-06-25 19:49:04.000000 +0000
+++ yaml_to_classes.py 2024-06-25 19:53:16.244306 +0000
@@ -104,11 +104,11 @@
Args:
yaml_file: Path to the YAML file containing header specification.
h_def_file: Path to the .h.def template file.
output_dir: Directory to output the generated header file.
"""
-
+
header = load_yaml_file(yaml_file)
with open(h_def_file, "r") as f:
h_def_content = f.read()
``````````
</details>
https://github.com/llvm/llvm-project/pull/96671
More information about the libc-commits
mailing list