[Mlir-commits] [clang] [compiler-rt] [libcxx] [lld] [lldb] [llvm] [mlir] [polly] python: use raw strings for regex (PR #105990)

Louis Dionne llvmlistbot at llvm.org
Mon Aug 26 09:02:47 PDT 2024


================
@@ -284,7 +284,7 @@ def sync_csv(rows: List[Tuple], from_github: List[PaperInfo]) -> List[Tuple]:
             results.append(gh.for_printing())
             continue
         elif paper.status != gh.status:
-            print(f"We found a CSV row and a Github issue with different statuses:\nrow: {row}\Github issue: {gh}")
+            print(rf"We found a CSV row and a Github issue with different statuses:\nrow: {row}\Github issue: {gh}")
----------------
ldionne wrote:

This is not a regex -- this change looks wrong.

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


More information about the Mlir-commits mailing list