[llvm] [Github] Fix comment formatting for code format action (PR #75764)

Aiden Grossman via llvm-commits llvm-commits at lists.llvm.org
Sun Dec 17 19:28:52 PST 2023


boomanaiden154 wrote:

If reviewers prefer, we could also emulate a multi-line string without the mentioned drawback by using string concatenation:
```python
test = ("This is a test. "
        "This is another sentence in the same string.")

print(test)
```

Which produces the following (as expected):
```
This is a test. This is another sentence in the same string.
```

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


More information about the llvm-commits mailing list