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/docs/tools/generate_analyzer_options_docs.py clang/test/lit.cfg.py `````````` </details> <details> <summary> View the diff from darker here. </summary> ``````````diff --- docs/tools/generate_analyzer_options_docs.py 2025-05-14 10:06:19.000000 +0000 +++ docs/tools/generate_analyzer_options_docs.py 2025-05-14 10:09:34.093585 +0000 @@ -189,12 +189,12 @@ def desc_to_rst_paragraphs(tok): desc = string_value(tok) # Escape some characters that have special meaning in RST: - desc = err_handler.replace_as_tweak(desc, '*', r'\*', "escape star") - desc = err_handler.replace_as_tweak(desc, '_', r'\_', "escape underline") + desc = err_handler.replace_as_tweak(desc, "*", r"\*", "escape star") + desc = err_handler.replace_as_tweak(desc, "_", r"\_", "escape underline") # Many descriptions end with "Value: <list of accepted values>", which is # OK for a terse command line printout, but should be prettified for web # documentation. # Moreover, the option ctu-invocation-list shows some example file content `````````` </details> https://github.com/llvm/llvm-project/pull/135169 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits