[libc-commits] [libc] [libc] Make hdrgen support macro_header YAML field. (PR #123265)

via libc-commits libc-commits at lists.llvm.org
Thu Jan 16 17:35:14 PST 2025


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 9be358f82e90317a28754248038f0abd5aef38fd...6fa2c2bb30b257d2b6fbda0b495c2a7cb300b6b8 libc/utils/hdrgen/gpu_headers.py libc/utils/hdrgen/header.py libc/utils/hdrgen/macro.py libc/utils/hdrgen/tests/test_integration.py libc/utils/hdrgen/yaml_to_classes.py
``````````

</details>

<details>
<summary>
View the diff from darker here.
</summary>

``````````diff
--- tests/test_integration.py	2025-01-17 01:28:32.000000 +0000
+++ tests/test_integration.py	2025-01-17 01:34:41.107675 +0000
@@ -8,11 +8,11 @@
 class TestHeaderGenIntegration(unittest.TestCase):
     def setUp(self):
         self.output_dir = TestHeaderGenIntegration.output_dir
         self.source_dir = Path(__file__).parent
         self.main_script = self.source_dir.parent / "main.py"
-        self.maxDiff = 80*100
+        self.maxDiff = 80 * 100
 
     def run_script(self, yaml_file, output_file, entry_points):
         command = [
             "python3",
             str(self.main_script),

``````````

</details>


https://github.com/llvm/llvm-project/pull/123265


More information about the libc-commits mailing list