This commit is contained in:
Marc Beninca 2024-06-10 10:04:54 +02:00
parent e84417c077
commit fc3e191dc1
Signed by: marc.beninca
GPG key ID: 9C7613450C80C24F
2 changed files with 2 additions and 2 deletions

View file

@ -2,7 +2,7 @@ from os import path
class Project: class Project:
def __init__(self, file_path: str): def __init__(self, file_path: str) -> None:
self.file: str = path.realpath(file_path) self.file: str = path.realpath(file_path)
self.root: str = path.dirname(self.file) self.root: str = path.dirname(self.file)
self.name: str = path.basename(self.root) self.name: str = path.basename(self.root)

View file

@ -6,7 +6,7 @@ from rwx.prj import Project
class SphinxProject(Project): class SphinxProject(Project):
def __init__(self, file_path: str): def __init__(self, file_path: str) -> None:
super().__init__(file_path) super().__init__(file_path)
def build(self): def build(self):