(value: str)
| 168 | |
| 169 | |
| 170 | def split_commas(value: str) -> list[str]: |
| 171 | # Uses a bit smarter technique to allow last trailing comma |
| 172 | # and to remove last `""` item from the split. |
| 173 | items = value.split(",") |
| 174 | if items and items[-1] == "": |
| 175 | items.pop(-1) |
| 176 | return items |
| 177 | |
| 178 | |
| 179 | # For most options, the type of the default value set in options.py is |
no test coverage detected
searching dependent graphs…