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 HEAD~1...HEAD clang/tools/include-mapping/test.py
``````````

</details>

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

``````````diff
--- test.py     2025-05-11 19:36:59.000000 +0000
+++ test.py     2025-05-11 19:39:49.979769 +0000
@@ -90,11 +90,13 @@
     </td>
     <td>this is matched</td>
   </tr>
 </tbody></table>
 """
-        self.assertEqual(_ParseSymbolPage(html, "foo", "foo"), 
set(["<cstdio>", "<cstdlib>"]))
+        self.assertEqual(
+            _ParseSymbolPage(html, "foo", "foo"), set(["<cstdio>", 
"<cstdlib>"])
+        )
 
     def testParseSymbolPage_MulHeadersInSameDiv(self):
         # Multile <code> blocks in a Div.
         # Defined in header <algorithm>
         # Defined in header <utility>
@@ -141,10 +143,12 @@
   <td>this is matched</td>
 </tr>
 </tbody></table>
 """
         self.assertEqual(_ParseSymbolPage(html, "int8_t", "int8_t"), 
set(["<cstdint>"]))
-        self.assertEqual(_ParseSymbolPage(html, "int16_t", "int16_t"), 
set(["<cstdint>"]))
+        self.assertEqual(
+            _ParseSymbolPage(html, "int16_t", "int16_t"), set(["<cstdint>"])
+        )
 
 
 if __name__ == "__main__":
     unittest.main()

``````````

</details>


https://github.com/llvm/llvm-project/pull/139463
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to