20 lines
No EOL
554 B
Python
20 lines
No EOL
554 B
Python
from typing import Optional
|
|
|
|
from PyTeX.build.build import BuildDirSpecification
|
|
from PyTeX.format.formatting_config import FormattingConfig
|
|
|
|
|
|
class PyTeXBuilder:
|
|
def __init__(
|
|
self,
|
|
build_dir_spec: BuildDirSpecification
|
|
):
|
|
self._build_spec: BuildDirSpecification = None
|
|
|
|
self._default_formatting_config: Optional[FormattingConfig] = None
|
|
|
|
self._recursive: bool = True
|
|
self._overwrite_existing_files: bool = False
|
|
self._clean_old_files: True
|
|
|
|
self._allow_dirty: bool = False |