mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2025-01-13 20:01:48 +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]
|
class Blacklist(Configs): # pylint: disable=[R0903]
|
||||||
|
"""Reads and returns the blacklist."""
|
||||||
|
|
||||||
"""
|
def __init__(self) -> None:
|
||||||
Reads and returns the blacklist.
|
"""Initilazation class."""
|
||||||
"""
|
|
||||||
|
|
||||||
def __init__(self):
|
|
||||||
super(Configs, self).__init__()
|
super(Configs, self).__init__()
|
||||||
|
|
||||||
self.toml_errors = TomlErrors()
|
self.toml_errors = TomlErrors()
|
||||||
self.blacklist_file_toml: Path = Path(self.etc_path, 'blacklist.toml')
|
self.blacklist_file_toml: Path = Path(self.etc_path, 'blacklist.toml')
|
||||||
|
|
||||||
def packages(self) -> tuple:
|
def packages(self) -> tuple:
|
||||||
""" Reads the blacklist file. """
|
"""Read the blacklist file."""
|
||||||
packages: tuple = tuple()
|
packages: tuple = tuple()
|
||||||
if self.blacklist_file_toml.is_file():
|
if self.blacklist_file_toml.is_file():
|
||||||
try:
|
try:
|
||||||
|
|
Loading…
Reference in a new issue