diff --git a/spcd/project.py b/spcd/project.py index c295d57..6074e0d 100644 --- a/spcd/project.py +++ b/spcd/project.py @@ -45,10 +45,6 @@ class Project: # url self.url = add_url_path(projects.url, self.name) - def __repr__(self) -> str: - """Represent project.""" - return f"Project(projects={self.projects!r})" - def __str__(self) -> str: """List branch, name, root & url.""" return f"""\ diff --git a/spcd/projects.py b/spcd/projects.py index c64e3b3..b09e59b 100644 --- a/spcd/projects.py +++ b/spcd/projects.py @@ -34,14 +34,6 @@ class Projects: if value := self.environment.get(variable, None): self.url = add_url_path(value, self.group) - def __repr__(self) -> str: - """Represent projects. - - :return: representation - :rtype: str - """ - return "Projects()" - def __str__(self) -> str: """List group, name & url.