docstring/str
This commit is contained in:
parent
dddad18357
commit
f54c9d598b
2 changed files with 4 additions and 2 deletions
|
@ -1,4 +1,4 @@
|
||||||
"""CI project."""
|
"""Continuous Integration project."""
|
||||||
|
|
||||||
from __future__ import annotations
|
from __future__ import annotations
|
||||||
|
|
||||||
|
@ -43,6 +43,7 @@ class Project:
|
||||||
self.url = add_url_path(projects.url, self.name)
|
self.url = add_url_path(projects.url, self.name)
|
||||||
|
|
||||||
def __str__(self: Project) -> str:
|
def __str__(self: Project) -> str:
|
||||||
|
"""List branch, name, root & url."""
|
||||||
return f"""\
|
return f"""\
|
||||||
branch = {self.branch}
|
branch = {self.branch}
|
||||||
name = {self.name}
|
name = {self.name}
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
"""CI projects."""
|
"""Continuous Integration projects."""
|
||||||
|
|
||||||
from __future__ import annotations
|
from __future__ import annotations
|
||||||
|
|
||||||
|
@ -32,6 +32,7 @@ class Projects:
|
||||||
self.url = add_url_path(value, self.group)
|
self.url = add_url_path(value, self.group)
|
||||||
|
|
||||||
def __str__(self: Projects) -> str:
|
def __str__(self: Projects) -> str:
|
||||||
|
"""List group, name & url."""
|
||||||
return f"""\
|
return f"""\
|
||||||
group = {self.group}
|
group = {self.group}
|
||||||
name = {self.name}
|
name = {self.name}
|
||||||
|
|
Loading…
Reference in a new issue