mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2024-12-25 09:58:41 +01:00
Update docstrings
This commit is contained in:
parent
61c4977915
commit
340108cddb
1 changed files with 4 additions and 6 deletions
|
@ -14,19 +14,17 @@ from slpkg.toml_errors import TomlErrors
|
|||
|
||||
|
||||
class Blacklist(Configs): # pylint: disable=[R0903]
|
||||
"""Reads and returns the blacklist."""
|
||||
|
||||
"""
|
||||
Reads and returns the blacklist.
|
||||
"""
|
||||
|
||||
def __init__(self):
|
||||
def __init__(self) -> None:
|
||||
"""Initilazation class."""
|
||||
super(Configs, self).__init__()
|
||||
|
||||
self.toml_errors = TomlErrors()
|
||||
self.blacklist_file_toml: Path = Path(self.etc_path, 'blacklist.toml')
|
||||
|
||||
def packages(self) -> tuple:
|
||||
""" Reads the blacklist file. """
|
||||
"""Read the blacklist file."""
|
||||
packages: tuple = tuple()
|
||||
if self.blacklist_file_toml.is_file():
|
||||
try:
|
||||
|
|
Loading…
Reference in a new issue