doc/projects
Some checks failed
/ arch (push) Successful in 1m39s
/ alpine (push) Successful in 42s
/ fedora (push) Successful in 11m26s
/ opensuse (push) Successful in 2m19s
/ alma (push) Successful in 2m31s
/ rocky (push) Successful in 3m57s
/ ubuntu (push) Successful in 1m26s
/ debian (push) Failing after 1m3s

This commit is contained in:
Marc Beninca 2024-09-16 01:40:27 +02:00
parent 0d1ad96295
commit f0aa902904
Signed by: marc.beninca
GPG key ID: 9C7613450C80C24F

View file

@ -35,11 +35,19 @@ class Projects:
self.url = add_url_path(value, self.group) self.url = add_url_path(value, self.group)
def __repr__(self) -> str: def __repr__(self) -> str:
"""Represent projects.""" """Represent projects.
:return: representation
:rtype: str
"""
return "Projects()" return "Projects()"
def __str__(self) -> str: def __str__(self) -> str:
"""List group, name & url.""" """List group, name & url.
:return: string
:rtype: str
"""
return f"""\ return f"""\
group = {self.group} group = {self.group}
name = {self.name} name = {self.name}