Updated for coding style

This commit is contained in:
Dimitris Zlatanidis 2023-05-08 21:28:11 +03:00
parent 0f8057d178
commit 836e98e73b
2 changed files with 6 additions and 3 deletions

View file

@ -7,9 +7,12 @@ from slpkg.repositories import Repositories
class Required: class Required:
""" Creates a list of dependencies with """ Creates a tuple of dependencies with
the right order to install. """ 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): def __init__(self, data: dict, name: str):
self.data: dict = data self.data: dict = data

View file

@ -5,7 +5,7 @@ from typing import Generator
class Requires: class Requires:
""" Creates a list of dependencies with """ Creates a tuple of dependencies with
the right order to install. """ the right order to install. """
__slots__ = ('data', 'name', 'packages') __slots__ = ('data', 'name', 'packages')