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 
libcxx/test/libcxx/feature_test_macro/documentation.sh.py 
libcxx/utils/generate_feature_test_macro_components.py
``````````

</details>

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

``````````diff
--- utils/generate_feature_test_macro_components.py     2025-05-13 
18:36:43.000000 +0000
+++ utils/generate_feature_test_macro_components.py     2025-05-13 
18:40:33.017868 +0000
@@ -2162,10 +2162,11 @@
     - 
     - Paper
 {status_list_table}
 """
 
+
 def create_table_row(data: List[List[str]]) -> str:
     """Creates an RST list-table row from the contents of `data`.
 
     Data contains one or more elements for a single row for a RST list-table.
     When the list contains more than one element, the data is considered to be
@@ -2701,11 +2702,10 @@
 
                 result += create_table_row(row)
 
         return result
 
-
     @functools.cached_property
     def documentation(self) -> str:
         """Generates the FTM documentation."""
 
         return 
ftm_documentation.format(status_list_table=self.status_list_table)
@@ -2729,10 +2729,10 @@
 
         ftm.generate_header_test_directory(macro_test_path)
 
         documentation_path = os.path.join(docs_path, 
"FeatureTestMacroTable.rst")
         with open(documentation_path, "w", newline="\n") as f:
-             f.write(ftm.documentation)
+            f.write(ftm.documentation)
 
 
 if __name__ == "__main__":
     main()

``````````

</details>


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

Reply via email to