diff --git a/src/ahriman/core/alpm/remote/aur.py b/src/ahriman/core/alpm/remote/aur.py index 8647c673..babcfa9e 100644 --- a/src/ahriman/core/alpm/remote/aur.py +++ b/src/ahriman/core/alpm/remote/aur.py @@ -44,7 +44,7 @@ class AUR(Remote): """ generate remote git url from the package base - Args + Args: package_base(str): package base repository(str): repository name @@ -58,7 +58,7 @@ class AUR(Remote): """ generate remote web url from the package base - Args + Args: package_base(str): package base Returns: diff --git a/src/ahriman/core/alpm/remote/official.py b/src/ahriman/core/alpm/remote/official.py index 9b3a3fb1..73e2d05f 100644 --- a/src/ahriman/core/alpm/remote/official.py +++ b/src/ahriman/core/alpm/remote/official.py @@ -46,7 +46,7 @@ class Official(Remote): """ generate remote git url from the package base - Args + Args: package_base(str): package base repository(str): repository name @@ -60,7 +60,7 @@ class Official(Remote): """ generate remote web url from the package base - Args + Args: package_base(str): package base Returns: diff --git a/src/ahriman/core/alpm/remote/remote.py b/src/ahriman/core/alpm/remote/remote.py index 3deb9fec..27dd7aa0 100644 --- a/src/ahriman/core/alpm/remote/remote.py +++ b/src/ahriman/core/alpm/remote/remote.py @@ -110,7 +110,7 @@ class Remote(SyncHttpClient): """ generate remote git url from the package base - Args + Args: package_base(str): package base repository(str): repository name @@ -127,7 +127,7 @@ class Remote(SyncHttpClient): """ generate remote web url from the package base - Args + Args: package_base(str): package base Returns: diff --git a/src/ahriman/core/configuration/validator.py b/src/ahriman/core/configuration/validator.py index 5d511a48..20233d79 100644 --- a/src/ahriman/core/configuration/validator.py +++ b/src/ahriman/core/configuration/validator.py @@ -109,7 +109,7 @@ class Validator(RootValidator): Args: constraint(list[str]): optional list of allowed special words (e.g. ``localhost``) field(str): field name to be checked - value(Path): value to be checked + value(str): value to be checked Examples: The rule's arguments are validated against this schema: diff --git a/src/ahriman/core/spawn.py b/src/ahriman/core/spawn.py index 2e93a3f1..09a857d8 100644 --- a/src/ahriman/core/spawn.py +++ b/src/ahriman/core/spawn.py @@ -81,7 +81,7 @@ class Spawn(Thread, LazyLogging): helper to run external process Args: - callback(Callable[[argparse.Namespace, str], bool]): application run function + callback(Callable[[argparse.Namespace, RepositoryId], bool]): application run function (i.e. :func:`ahriman.application.handlers.handler.Handler.call()` method) args(argparse.Namespace): command line arguments repository_id(RepositoryId): repository unique identifier diff --git a/src/ahriman/models/aur_package.py b/src/ahriman/models/aur_package.py index e13f8516..a3f2c0fd 100644 --- a/src/ahriman/models/aur_package.py +++ b/src/ahriman/models/aur_package.py @@ -50,7 +50,7 @@ class AURPackage: url_path(str): AUR package path repository(str): repository name of the package depends(list[str]): list of package dependencies - make_depends(l[str]): list of package make dependencies + make_depends(list[str]): list of package make dependencies opt_depends(list[str]): list of package optional dependencies check_depends(list[str]): list of package test dependencies conflicts(list[str]): conflicts list for the package