start tex formatter

This commit is contained in:
Maximilian Keßler 2022-02-06 15:11:23 +01:00
parent 2ee175784b
commit 12de6e43cb
2 changed files with 7 additions and 2 deletions

View file

@ -1,7 +1,7 @@
from typing import Optional, List, Dict, Tuple, Union from typing import Optional, List, Dict, Tuple, Union
from pathlib import Path from pathlib import Path
from .enums import PyTeXFileType from .enums import PyTeXFileType
from PyTeX.format.formatter import Formatter from PyTeX.format.formatterif import FormatterIF
from PyTeX.build.paths import RelativePath from PyTeX.build.paths import RelativePath
@ -9,7 +9,7 @@ class PyTeXSourceFile:
def __init__(self): def __init__(self):
self._pytex_file_type: PyTeXFileType = None self._pytex_file_type: PyTeXFileType = None
self._relative_path: RelativePath = None self._relative_path: RelativePath = None
self._formatter: Formatter = None self._formatter: FormatterIF = None
@property @property
def relative_path(self): def relative_path(self):

View file

@ -0,0 +1,5 @@
from .pytex_formatter import PyTeXFormatter
class TexFormatter(PyTeXFormatter):
pass