Improved code quality

This commit is contained in:
Dimitris Zlatanidis 2024-04-29 22:02:08 +03:00
parent 92b5108bbd
commit e912facf43

View file

@ -5,13 +5,18 @@ from urllib3 import PoolManager
from slpkg.repositories import Repositories
class Check:
class Check: # pylint: disable=[R0903]
""" Check for repository update.
"""
def __init__(self):
self.repos = Repositories()
self.repositories = Repositories().repositories
def test(self):
def test(self) -> None:
""" Test for ChangLog files.
"""
local_size: int = 0
for name, data in self.repositories.items():