From 836e98e73b2604b0f1563c7f50aa1e40889c475c Mon Sep 17 00:00:00 2001 From: Dimitris Zlatanidis Date: Mon, 8 May 2023 21:28:11 +0300 Subject: [PATCH] Updated for coding style --- slpkg/binaries/required.py | 7 +++++-- slpkg/sbos/dependencies.py | 2 +- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/slpkg/binaries/required.py b/slpkg/binaries/required.py index 2724394a..5e3109c7 100644 --- a/slpkg/binaries/required.py +++ b/slpkg/binaries/required.py @@ -7,9 +7,12 @@ from slpkg.repositories import Repositories class Required: - """ Creates a list of dependencies with + """ Creates a tuple of dependencies with the right order to install. """ - __slots__ = ('data', 'name', 'repos', 'special_repos', 'repo', 'packages') + __slots__ = ( + 'data', 'name', 'repos', + 'special_repos', 'repo', 'packages' + ) def __init__(self, data: dict, name: str): self.data: dict = data diff --git a/slpkg/sbos/dependencies.py b/slpkg/sbos/dependencies.py index c69ff878..c3ac78ae 100644 --- a/slpkg/sbos/dependencies.py +++ b/slpkg/sbos/dependencies.py @@ -5,7 +5,7 @@ from typing import Generator class Requires: - """ Creates a list of dependencies with + """ Creates a tuple of dependencies with the right order to install. """ __slots__ = ('data', 'name', 'packages')