Both copier.yml and copier.yaml found, and that's an error.
| 84 | |
| 85 | |
| 86 | class MultipleConfigFilesError(ConfigFileError): |
| 87 | """Both copier.yml and copier.yaml found, and that's an error.""" |
| 88 | |
| 89 | def __init__(self, conf_paths: PathSeq): |
| 90 | msg = str(conf_paths) |
| 91 | printf_exception(self, "MULTIPLE CONFIG FILES", msg=msg) |
| 92 | super().__init__(msg) |
| 93 | |
| 94 | |
| 95 | class InvalidTypeError(TypeError, CopierError): |