lint prj
This commit is contained in:
parent
e84417c077
commit
fc3e191dc1
2 changed files with 2 additions and 2 deletions
|
@ -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)
|
||||||
|
|
|
@ -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):
|
||||||
|
|
Loading…
Reference in a new issue