lint/sphinx

This commit is contained in:
Marc Beninca 2024-09-13 15:40:19 +02:00
parent 5361fbd9a0
commit 2dfdabed26
Signed by: marc.beninca
GPG key ID: 9C7613450C80C24F

View file

@ -1,3 +1,5 @@
"""Project consisting only of a Sphinx documentation."""
from os import path from os import path
from sphinx.cmd.build import build_main from sphinx.cmd.build import build_main
@ -10,7 +12,7 @@ class SphinxProject(Project):
def __init__(self, file_path: str) -> None: def __init__(self, file_path: str) -> None:
super().__init__(file_path) super().__init__(file_path)
def build(self): def build(self) -> None:
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] = [