docstring/str

This commit is contained in:
Marc Beninca 2024-08-19 18:03:55 +02:00
parent dddad18357
commit f54c9d598b
Signed by: marc.beninca
GPG key ID: 9C7613450C80C24F
2 changed files with 4 additions and 2 deletions

View file

@ -1,4 +1,4 @@
"""CI project."""
"""Continuous Integration project."""
from __future__ import annotations
@ -43,6 +43,7 @@ class Project:
self.url = add_url_path(projects.url, self.name)
def __str__(self: Project) -> str:
"""List branch, name, root & url."""
return f"""\
branch = {self.branch}
name = {self.name}

View file

@ -1,4 +1,4 @@
"""CI projects."""
"""Continuous Integration projects."""
from __future__ import annotations
@ -32,6 +32,7 @@ class Projects:
self.url = add_url_path(value, self.group)
def __str__(self: Projects) -> str:
"""List group, name & url."""
return f"""\
group = {self.group}
name = {self.name}