fixes
All checks were successful
/ job (push) Successful in 7m35s

This commit is contained in:
Marc Beninca 2024-06-10 21:29:11 +02:00
parent 033898ccc0
commit b912997491
Signed by: marc.beninca
GPG key ID: 9C7613450C80C24F
3 changed files with 6 additions and 4 deletions

View file

@ -12,9 +12,7 @@ from cd.projects import Projects
COMMANDS_PREFIX = "cd-"
projects = Projects()
print(projects)
project = Project(projects)
print(project)
def cd_browse_workspace() -> None:
@ -32,6 +30,10 @@ def cd_build_project() -> None:
def cd_clone_branch() -> None:
print(projects, end="")
split()
print(project, end="")
split()
print(f"""\
{project.url}

View file

@ -42,7 +42,7 @@ class Project:
self.url = urljoin(projects.url, self.name)
def __str__(self: Project) -> str:
return """\
return f"""\
branch = {self.branch}
name = {self.name}
root = {self.root}

View file

@ -31,7 +31,7 @@ class Projects:
self.url = urljoin(value, self.group)
def __str__(self: Projects) -> str:
return """\
return f"""\
group = {self.group}
name = {self.name}
url = {self.url}