From 6ef3c246b83d5e1ef2433b01325b5d16671f988c Mon Sep 17 00:00:00 2001 From: Brandon Minnix Date: Mon, 29 Jan 2024 15:57:08 -0500 Subject: [PATCH] After fixing black errors, more pylint errors. --- netutils/nist.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/netutils/nist.py b/netutils/nist.py index 8e766e7b..62c09538 100644 --- a/netutils/nist.py +++ b/netutils/nist.py @@ -3,9 +3,9 @@ import typing as t -def get_nist_urls_juniper_junos( +def get_nist_urls_juniper_junos( # pylint: disable=R0911 os_platform_data: t.Dict[str, t.Any], api_key: str -) -> t.List[str]: # pylint: disable=too-many-return-statements +) -> t.List[str]: """Create a list of possible NIST Url strings for JuniperPlatform. Args: @@ -32,7 +32,7 @@ def get_nist_urls_juniper_junos( url_args["base_ext"] = base_ext # X Series (Special) Examples: 12.1x47:d40, 12.2x50:d41.1 - if url_args["isspecial"] and url_args["service_respin"]: # pylint: disable=no-else-return + if url_args["isspecial"] and url_args["service_respin"]: # pylint: disable=R1705 # nist_urls.append(juniper:junos:12.2x50:d41.1:*:*:*:*:*:*) nist_urls.append( f"{url_args['base_ext']}:{url_args['service']}{url_args['service_build']}.{url_args['service_respin']}{url_args['delim_six']}"