pytex/PyTeX/format/dtx_formatter.py

24 lines
567 B
Python
Raw Normal View History

2022-02-06 19:40:14 +01:00
from .tex_formatter import TexFormatter
2022-02-08 18:26:25 +01:00
from typing import List, Tuple
from pathlib import Path
from .formatting_config import FormattingConfig
2022-02-06 19:40:14 +01:00
class DTXFormatter(TexFormatter):
2022-02-08 21:57:30 +01:00
@property
2022-02-08 18:26:25 +01:00
def dependencies(self) -> List[str]:
2022-02-08 21:57:30 +01:00
return [] # TODO
2022-02-08 18:26:25 +01:00
def future_config(self) -> List[Tuple[str, FormattingConfig]]:
2022-02-08 21:57:30 +01:00
return [] # TODO
2022-02-08 18:26:25 +01:00
2022-02-08 21:57:30 +01:00
@property
2022-02-08 18:26:25 +01:00
def output_files(self) -> List[str]:
2022-02-08 21:57:30 +01:00
return [] # TODO
2022-02-08 18:26:25 +01:00
def open_output_stream(self, build_dir: Path) -> None:
pass
def close_output_stream(self) -> None:
pass