doc line too long (107 > 88 characters)
68 return exporter_cls
69
70 class CustomKeyExporter(exporter_cls):
71 """Exporter class with overridden storage_class to a class with overridden custom key separator."""72
73 storage_class = store_class_custom_key_separator_wrapper(
74 exporter_cls.storage_class, key_separator
doc line too long (126 > 88 characters)
60def exporter_custom_key_separator_wrapper(
61 exporter_cls: type[BaseExporter], key_separator: str
62):
63 """Create class deriving from exporter class with overridden key separator if exporter class derives from JSONExporter."""64 if (
65 not issubclass(exporter_cls, JSONExporter)
66 or key_separator == DEFAULT_KEY_SEPARATOR
doc line too long (120 > 88 characters)
47 KEY_SEPARATOR = key_separator
48
49 class CustomKeySeparatorFileFormat(file_format_cls):
50 """File format class with overridden loader and unit class to a classes with overridden custom key separator."""51
52 loader = store_class_custom_key_separator_wrapper(
53 file_format_cls.get_class(), key_separator
doc line too long (130 > 88 characters)
34def file_format_custom_key_separator_wrapper(
35 file_format_cls: type[TranslationFormat], key_separator: str
36):
37 """Create class deriving from file format class with overridden key separator if file format class derives from JSONFormat."""38 if (
39 not issubclass(file_format_cls, JSONFormat)
40 or key_separator == DEFAULT_KEY_SEPARATOR
Description
Docstring line lengths are recommended to be no greater than 79 characters.