From f54c9d598b2fa79d6b415a49b00f2f21193cb152 Mon Sep 17 00:00:00 2001 From: Marc Beninca Date: Mon, 19 Aug 2024 18:03:55 +0200 Subject: [PATCH] docstring/str --- spcd/project.py | 3 ++- spcd/projects.py | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/spcd/project.py b/spcd/project.py index f45303e..7d900d6 100644 --- a/spcd/project.py +++ b/spcd/project.py @@ -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} diff --git a/spcd/projects.py b/spcd/projects.py index ca5d9e1..3a02672 100644 --- a/spcd/projects.py +++ b/spcd/projects.py @@ -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}