From d92bed5b0d69609f2948fa89bbf134449998437f Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Fri, 10 Nov 2023 09:57:57 +0100 Subject: [PATCH] chore: update charm libraries (#140) Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> --- lib/charms/nginx_ingress_integrator/v0/nginx_route.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lib/charms/nginx_ingress_integrator/v0/nginx_route.py b/lib/charms/nginx_ingress_integrator/v0/nginx_route.py index 57833bdb..9a7baa80 100644 --- a/lib/charms/nginx_ingress_integrator/v0/nginx_route.py +++ b/lib/charms/nginx_ingress_integrator/v0/nginx_route.py @@ -86,7 +86,7 @@ # Increment this PATCH version before using `charmcraft publish-lib` or reset # to 0 if you are raising the major API version -LIBPATCH = 3 +LIBPATCH = 4 __all__ = ["require_nginx_route", "provide_nginx_route"] @@ -172,7 +172,8 @@ def _config_reconciliation(self, _event: typing.Any = None) -> None: # C901 is ignored since the method has too many ifs but wouldn't be # necessarily good to reduce to smaller methods. -def require_nginx_route( # pylint: disable=too-many-locals,too-many-branches # noqa: C901 +# E501: line too long +def require_nginx_route( # pylint: disable=too-many-locals,too-many-branches,too-many-arguments # noqa: C901,E501 *, charm: ops.charm.CharmBase, service_hostname: str,