diff --git a/slpkg/blacklist.py b/slpkg/blacklist.py index 79de8442..620220e8 100644 --- a/slpkg/blacklist.py +++ b/slpkg/blacklist.py @@ -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: