Update for docstrings

This commit is contained in:
Dimitris Zlatanidis 2024-04-26 19:42:53 +03:00
parent 832e669082
commit 1942bfc2d5

View file

@ -6,8 +6,9 @@ from slpkg.utilities import Utilities
from slpkg.views.views import View from slpkg.views.views import View
class Cleanings(Configs): class Cleanings(Configs): # pylint: disable=[R0903]
""" Cleans the logs from packages. """ """ Cleans the logs from packages.
"""
def __init__(self): def __init__(self):
super(Configs, self).__init__() super(Configs, self).__init__()
@ -16,6 +17,8 @@ class Cleanings(Configs):
self.utils = Utilities() self.utils = Utilities()
def tmp(self) -> None: def tmp(self) -> None:
""" Delete files and folders in /tmp/slpkg/ folder.
"""
print('Deleting of local data:\n') print('Deleting of local data:\n')
for file in self.tmp_slpkg.rglob('*'): for file in self.tmp_slpkg.rglob('*'):