Update docstrings

This commit is contained in:
Dimitris Zlatanidis 2024-05-19 19:42:08 +03:00
parent 61c4977915
commit 340108cddb

View file

@ -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: