add header formatting method

This commit is contained in:
Maximilian Keßler 2022-02-06 16:08:05 +01:00
parent b9fd9f0e25
commit 0f912b6c2f
2 changed files with 8 additions and 0 deletions

View file

@ -0,0 +1,3 @@
INFILE_CONFIG_BEGIN_CONFIG = 'config'
INFILE_CONFIG_END_CONFIG = 'endconfig'
PYTEX_CONFIG_FILE_EXTENSION = '.conf'

View file

@ -115,3 +115,8 @@ class PyTeXFormatter(FormatterIF):
## TODO handle rest
return self._header
def format_header(self, **kwargs) -> None:
self._header = self.header.format(
**kwargs
) # TODO: add standard keywords here