[libc-commits] [libc] [libc] Add --json mode for hdrgen (PR #127847)
via libc-commits
libc-commits at lists.llvm.org
Wed Feb 19 10:56:07 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 8337d01e3058e7f47675f5b2b908b4e7821895d7...a82d3869a6820277d1ee88fbd7d54fe208cd4e3b libc/utils/hdrgen/header.py libc/utils/hdrgen/main.py libc/utils/hdrgen/tests/test_integration.py
``````````
</details>
<details>
<summary>
View the diff from darker here.
</summary>
``````````diff
--- tests/test_integration.py 2025-02-19 18:51:16.000000 +0000
+++ tests/test_integration.py 2025-02-19 18:55:31.816380 +0000
@@ -10,12 +10,11 @@
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
- def run_script(self, yaml_file, output_file, entry_points=[],
- switches=[]):
+ def run_script(self, yaml_file, output_file, entry_points=[], switches=[]):
command = [
"python3",
str(self.main_script),
str(yaml_file),
"--output",
``````````
</details>
https://github.com/llvm/llvm-project/pull/127847
More information about the libc-commits
mailing list