lint/sphinx

This commit is contained in:
Marc Beninca 2024-09-13 16:54:22 +02:00
parent f46d5a9765
commit 9bb8003812
Signed by: marc.beninca
GPG key ID: 9C7613450C80C24F

View file

@ -9,10 +9,14 @@ from rwx.prj import Project
class SphinxProject(Project): class SphinxProject(Project):
"""Child class for a project based on Sphinx."""
def __init__(self, file_path: str) -> None: def __init__(self, file_path: str) -> None:
"""Call the parent constructor."""
super().__init__(file_path) super().__init__(file_path)
def build(self) -> None: def build(self) -> None:
"""Build the project."""
output_root: str = path.join(self.root, "out") output_root: str = path.join(self.root, "out")
wipe(output_root) wipe(output_root)
arguments: list[str] = [ arguments: list[str] = [