remove prefix from config
This commit is contained in:
parent
1094fce0a4
commit
94516b4bbb
2 changed files with 1 additions and 16 deletions
|
@ -3,3 +3,4 @@ INFILE_CONFIG_END_CONFIG = 'endconfig'
|
|||
PYTEX_CONFIG_FILE_EXTENSION = '.conf'
|
||||
DICTIONARY_KEY_COLUMN_NAME = 'key'
|
||||
DICTIONARY_NAMING_PATTERN = 'translator-{dict_name}-dictionary-{language}.dict'
|
||||
FORMATTER_PREFIX = '!'
|
||||
|
|
|
@ -31,8 +31,6 @@ class FormattingConfig(Config):
|
|||
self._include_ins: Optional[bool] = True
|
||||
self._use_docstrip_guards: Optional[List[str]] = None
|
||||
|
||||
self._escape_character: Optional[str] = None
|
||||
|
||||
@classmethod
|
||||
def from_yaml(cls, yaml):
|
||||
pass
|
||||
|
@ -136,13 +134,6 @@ class FormattingConfig(Config):
|
|||
else:
|
||||
return self._version
|
||||
|
||||
@property
|
||||
def extra_header_file(self) -> GenericText:
|
||||
if self._extra_header_file is None:
|
||||
return GenericText([])
|
||||
else:
|
||||
return self._extra_header_file
|
||||
|
||||
@property
|
||||
def pytex_version(self) -> Optional[GitVersionInfo]:
|
||||
return self._pytex_version
|
||||
|
@ -189,13 +180,6 @@ class FormattingConfig(Config):
|
|||
else:
|
||||
return self._use_docstrip_guards
|
||||
|
||||
@property
|
||||
def escape_character(self) -> str:
|
||||
if self._escape_character is None:
|
||||
return '!'
|
||||
else:
|
||||
return self._escape_character
|
||||
|
||||
@property
|
||||
def description(self) -> str:
|
||||
if self._description is None:
|
||||
|
|
Loading…
Reference in a new issue