mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2024-12-28 09:58:21 +01:00
Updated for coding style
This commit is contained in:
parent
0f8057d178
commit
836e98e73b
2 changed files with 6 additions and 3 deletions
|
@ -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
|
||||
|
|
|
@ -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')
|
||||
|
||||
|
|
Loading…
Reference in a new issue