validate_no_commas
main.validate_no_commas(list_of_paths, argname)Check for commas in list of paths and raise ValueError if found.
Parameters
| Name | Type | Description | Default |
|---|---|---|---|
| list_of_paths | list[str] | List of file or directory paths to check. | required |
| argname | str | Name of the argument for error messaging. | required |
Raises
| Name | Type | Description |
|---|---|---|
| ValueError | If any path contains a comma, indicating improper separation. |