diff --git a/rwx/os/debian.py b/rwx/os/debian.py index f8b5fdd..dbaaabb 100644 --- a/rwx/os/debian.py +++ b/rwx/os/debian.py @@ -1,17 +1,11 @@ """Debian operating system.""" -from pathlib import Path - from . import OS class Debian(OS): """Debian operating system.""" - def __init__(self, path: Path) -> None: - """Initialize.""" - super().__init__(path) - def get_name(self) -> str: """Return name.""" return "Debian" diff --git a/rwx/os/pm/apt.py b/rwx/os/pm/apt.py index 17caac3..ac669b6 100644 --- a/rwx/os/pm/apt.py +++ b/rwx/os/pm/apt.py @@ -7,10 +7,6 @@ from rwx.ps import Command class APT(PM): """Advanced Package Tool.""" - def __init__(self) -> None: - """Initialize.""" - super().__init__() - def get_install_command(self) -> Command: """Return install command.""" return Command() diff --git a/rwx/prj/sphinx.py b/rwx/prj/sphinx.py index be207ef..c1b2c17 100644 --- a/rwx/prj/sphinx.py +++ b/rwx/prj/sphinx.py @@ -14,10 +14,6 @@ from rwx.prj import Project class SphinxProject(Project): """Child class for a project based on Sphinx.""" - def __init__(self, file_path: str) -> None: - """Call the parent constructor.""" - super().__init__(file_path) - def build(self) -> None: """Build the project.""" output_root: Path = self.root / "out" @@ -31,9 +27,9 @@ class SphinxProject(Project): "-D", f"project={self.name}", "-D", - "master_doc={}".format("index"), + "master_doc=index", "-D", - "html_theme={}".format("sphinx_rtd_theme"), + "html_theme=sphinx_rtd_theme", "-c", str(self.root), # "-C",