[libc-commits] [libc] [libc] corrected yaml files in newhdrgen (PR #98069)
via libc-commits
libc-commits at lists.llvm.org
Mon Jul 8 12:51:43 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 5828b04b0373f10fade7eefbeb181dc8ceb98422...a25f35e723116f826e66ea824734184a83764f21 libc/newhdrgen/class_implementation/classes/function.py libc/newhdrgen/tests/test_integration.py
``````````
</details>
<details>
<summary>
View the diff from darker here.
</summary>
``````````diff
--- tests/test_integration.py 2024-07-08 19:44:15.000000 +0000
+++ tests/test_integration.py 2024-07-08 19:51:19.335334 +0000
@@ -21,11 +21,11 @@
if args.output_dir
else output_dir_env if output_dir_env else "libc/newhdrgen/tests/output"
)
self.maxDiff = None
-
+
self.source_dir = Path(__file__).resolve().parent.parent.parent.parent
def run_script(self, yaml_file, h_def_file, output_dir):
yaml_file = self.source_dir / yaml_file
h_def_file = self.source_dir / h_def_file
``````````
</details>
https://github.com/llvm/llvm-project/pull/98069
More information about the libc-commits
mailing list