pytex/PyTeX/build/pytex_file/pytex_file.py

29 lines
748 B
Python
Raw Normal View History

2022-02-04 21:14:40 +01:00
from typing import Optional, List
from PyTeX.build.build_info import BasicBuildInfo
from PyTeX.config import BasicFormattingConfig, GlobalPyTeXConfig
from PyTeX.paths import RelativePath
from .enums import PyTeXFileType
class PyTeXSourceFile:
def __init__(self):
self._pytex_file_type: PyTeXFileType = None
self._relative_path: RelativePath = None
self._build_info: Optional[BasicBuildInfo] = None
@property
def relative_path(self) -> RelativePath:
return self._relative_path
@property
def pytex_file_type(self) -> PyTeXFileType:
return self._pytex_file_type
def format(self) -> None:
pass
@property
def provided_files(self) -> List[RelativePath]:
pass