rename bunch of classes

This commit is contained in:
Maximilian Keßler 2022-02-04 11:46:06 +01:00
parent 60ac43a1c2
commit ddc38ec0cb
2 changed files with 6 additions and 6 deletions

View file

@ -2,7 +2,7 @@ from typing import List, Optional, Union
from .enums import NamingScheme, License
class BasicSourceConfig:
class BasicFormattingConfig:
def __init__(self):
self._naming_scheme: Union[NamingScheme, str] = NamingScheme.clean # either some predefined scheme, or a formatting string
self._author: Optional[str] = None
@ -18,10 +18,10 @@ class BasicSourceConfig:
self._include_drv: bool = True
self._include_ins: bool = True
self._default_docstrip_guards: Optional[List[str]] = None
self._use_docstrip_guards: Optional[List[str]] = None
class PyTeXSourceConfig(BasicSourceConfig):
class PyTeXFormattingConfig(BasicFormattingConfig):
def __init__(self):
super().__init__()
self._available_docstrip_guards: Optional[List[str]] = None
@ -29,7 +29,7 @@ class PyTeXSourceConfig(BasicSourceConfig):
self._tex_dependencies: Optional[List[str]] = None
class DocSourceConfig:
class DocFormattingConfig:
def __init__(self):
self._documents: Optional[List[str]] = None
self._dependencies: Optional[List[str]] = None

View file

@ -1,6 +1,6 @@
from pathlib import Path
from typing import Optional
from .source_config import BasicSourceConfig
from .formatting_config import BasicFormattingConfig
class GlobalPyTeXConfig:
@ -10,7 +10,7 @@ class GlobalPyTeXConfig:
_tex_root: Optional[Path] = None
_wrapper_dir: Optional[Path] = None
_default_source_config: Optional[BasicSourceConfig] = None
_default_formatting_config: Optional[BasicFormattingConfig] = None
_recursive: bool = True
_overwrite_existing_files: bool = False