From 4e1eee2c8ccd61c38c0a3b897c1b9e084425fab5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maximilian=20Ke=C3=9Fler?= Date: Sun, 6 Feb 2022 15:12:05 +0100 Subject: [PATCH] formatter --- PyTeX/format/formatter.py | 28 ---------------------------- 1 file changed, 28 deletions(-) delete mode 100644 PyTeX/format/formatter.py diff --git a/PyTeX/format/formatter.py b/PyTeX/format/formatter.py deleted file mode 100644 index f5a8ccb..0000000 --- a/PyTeX/format/formatter.py +++ /dev/null @@ -1,28 +0,0 @@ -from typing import List, Optional, Dict, Tuple -from pathlib import Path - - -class Formatter: - """ - A formatter is bound to a specific input file with some - building configuration. - """ - def format(self, build_dir: Path) -> Optional[List[Tuple[str, Dict]]]: - """ - :param build_dir: Directory where output files are written to - :return: When configuration files are needed for a future - build of the output files, a list of the file names and their - needed configurations. Else None. - """ - pass - - @property - def output_files(self) -> List[str]: - """ - - :return: List of files that will be built when the formatter is invoked - """ - pass - - def set_input_file(self, locate_config=True) -> None: - raise NotImplementedError