diff --git a/spcd/project.py b/spcd/project.py index 68b6b8a..de8b164 100644 --- a/spcd/project.py +++ b/spcd/project.py @@ -26,6 +26,7 @@ ROOT = [ class Project: """Current project.""" + def __init__(self: Project, projects: Projects) -> None: """Set projects, branch, name, root & url.""" self.projects = projects diff --git a/spcd/projects.py b/spcd/projects.py index 3c4fa69..c1f2403 100644 --- a/spcd/projects.py +++ b/spcd/projects.py @@ -19,6 +19,7 @@ SERVER_URL = [ class Projects: """Other projects.""" + def __init__(self: Projects) -> None: """Set environment, group, name & url.""" self.environment = os.environ