From a3957e1ec655462fabcfa39399fbe83cb8a44cb4 Mon Sep 17 00:00:00 2001 From: "A. Wilcox" Date: Wed, 2 Dec 2020 20:36:13 -0600 Subject: modules: Misc style fixes --- ncserver/module/nms_ifupdownng.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'ncserver/module/nms_ifupdownng.py') diff --git a/ncserver/module/nms_ifupdownng.py b/ncserver/module/nms_ifupdownng.py index e88a063..8c92717 100644 --- a/ncserver/module/nms_ifupdownng.py +++ b/ncserver/module/nms_ifupdownng.py @@ -10,7 +10,6 @@ with this source distribution for more information. SPDX-License-Identifier: NCSA """ -import ipaddress import logging import pathlib import socket @@ -418,6 +417,7 @@ def set_ipv4_mtu(iface: str, _, value: int): def set_slaac(iface: str, parameter: str, value: bool): + # pylint: disable=R0911 """Set SLAAC parameters for the specified interface.""" curr_global = get_slaac(iface, 'ipv6_slaac_globaladdr') curr_temp = get_slaac(iface, 'ipv6_slaac_tempaddr') @@ -693,15 +693,15 @@ def remove_address(iface: str, addr: str): def running(_): - pass + """Non-YANG functional module only - no nodes.""" def operational(_): - pass + """Non-YANG functional module only - no nodes.""" -def edit(*params): - pass +def edit(*params): # pylint: disable=W0613 + """Non-YANG functional module only - no nodes.""" # Load immediately when we're loaded so we can go straight to a transaction -- cgit v1.2.3-60-g2f50