From 04d6824f87023ec59dfed5eacb7684b024b15f32 Mon Sep 17 00:00:00 2001 From: Paul Belanger Date: Fri, 19 Jun 2020 12:10:16 -0400 Subject: Remove # pylint: skip-file usage (#47) Remove # pylint: skip-file usage Reviewed-by: Paul Belanger https://github.com/pabelanger --- plugins/action/vyos.py | 1 - plugins/cliconf/vyos.py | 1 - plugins/module_utils/network/vyos/argspec/facts/facts.py | 1 - .../network/vyos/argspec/firewall_global/firewall_global.py | 1 - .../network/vyos/argspec/firewall_interfaces/firewall_interfaces.py | 1 - .../module_utils/network/vyos/argspec/firewall_rules/firewall_rules.py | 1 - plugins/module_utils/network/vyos/argspec/interfaces/interfaces.py | 1 - .../module_utils/network/vyos/argspec/l3_interfaces/l3_interfaces.py | 1 - .../module_utils/network/vyos/argspec/lag_interfaces/lag_interfaces.py | 1 - plugins/module_utils/network/vyos/argspec/lldp_global/lldp_global.py | 1 - .../network/vyos/argspec/lldp_interfaces/lldp_interfaces.py | 1 - plugins/module_utils/network/vyos/argspec/ospfv2/ospfv2.py | 1 - plugins/module_utils/network/vyos/argspec/ospfv3/ospfv3.py | 1 - .../module_utils/network/vyos/argspec/static_routes/static_routes.py | 1 - .../network/vyos/config/firewall_global/firewall_global.py | 1 - .../network/vyos/config/firewall_interfaces/firewall_interfaces.py | 1 - .../module_utils/network/vyos/config/firewall_rules/firewall_rules.py | 1 - plugins/module_utils/network/vyos/config/interfaces/interfaces.py | 1 - .../module_utils/network/vyos/config/l3_interfaces/l3_interfaces.py | 1 - .../module_utils/network/vyos/config/lag_interfaces/lag_interfaces.py | 1 - plugins/module_utils/network/vyos/config/lldp_global/lldp_global.py | 1 - .../network/vyos/config/lldp_interfaces/lldp_interfaces.py | 1 - plugins/module_utils/network/vyos/config/ospfv2/ospfv2.py | 1 - plugins/module_utils/network/vyos/config/ospfv3/ospfv3.py | 1 - .../module_utils/network/vyos/config/static_routes/static_routes.py | 1 - plugins/module_utils/network/vyos/facts/facts.py | 1 - .../module_utils/network/vyos/facts/firewall_global/firewall_global.py | 1 - .../network/vyos/facts/firewall_interfaces/firewall_interfaces.py | 1 - .../module_utils/network/vyos/facts/firewall_rules/firewall_rules.py | 1 - plugins/module_utils/network/vyos/facts/interfaces/interfaces.py | 1 - plugins/module_utils/network/vyos/facts/l3_interfaces/l3_interfaces.py | 1 - .../module_utils/network/vyos/facts/lag_interfaces/lag_interfaces.py | 1 - plugins/module_utils/network/vyos/facts/legacy/base.py | 1 - plugins/module_utils/network/vyos/facts/lldp_global/lldp_global.py | 1 - .../module_utils/network/vyos/facts/lldp_interfaces/lldp_interfaces.py | 1 - plugins/module_utils/network/vyos/facts/ospfv2/ospfv2.py | 1 - plugins/module_utils/network/vyos/facts/ospfv3/ospfv3.py | 1 - plugins/module_utils/network/vyos/facts/static_routes/static_routes.py | 1 - plugins/module_utils/network/vyos/utils/utils.py | 1 - plugins/module_utils/network/vyos/vyos.py | 1 - plugins/modules/vyos_banner.py | 1 - plugins/modules/vyos_command.py | 3 +-- plugins/modules/vyos_config.py | 1 - plugins/modules/vyos_facts.py | 1 - plugins/modules/vyos_firewall_global.py | 1 - plugins/modules/vyos_firewall_interfaces.py | 1 - plugins/modules/vyos_firewall_rules.py | 1 - plugins/modules/vyos_interface.py | 1 - plugins/modules/vyos_interfaces.py | 1 - plugins/modules/vyos_l3_interface.py | 1 - plugins/modules/vyos_l3_interfaces.py | 1 - plugins/modules/vyos_lag_interfaces.py | 1 - plugins/modules/vyos_linkagg.py | 1 - plugins/modules/vyos_lldp.py | 1 - plugins/modules/vyos_lldp_global.py | 1 - plugins/modules/vyos_lldp_interface.py | 1 - plugins/modules/vyos_lldp_interfaces.py | 1 - plugins/modules/vyos_logging.py | 1 - plugins/modules/vyos_ospfv2.py | 1 - plugins/modules/vyos_ospfv3.py | 1 - plugins/modules/vyos_ping.py | 1 - plugins/modules/vyos_static_route.py | 1 - plugins/modules/vyos_static_routes.py | 1 - plugins/modules/vyos_system.py | 1 - plugins/modules/vyos_user.py | 1 - plugins/modules/vyos_vlan.py | 1 - plugins/terminal/vyos.py | 1 - 67 files changed, 1 insertion(+), 68 deletions(-) (limited to 'plugins') diff --git a/plugins/action/vyos.py b/plugins/action/vyos.py index 5c310c3..cab2f3f 100644 --- a/plugins/action/vyos.py +++ b/plugins/action/vyos.py @@ -16,7 +16,6 @@ # You should have received a copy of the GNU General Public License # along with Ansible. If not, see . # -# pylint: skip-file from __future__ import absolute_import, division, print_function __metaclass__ = type diff --git a/plugins/cliconf/vyos.py b/plugins/cliconf/vyos.py index 3ae1841..de9e93d 100644 --- a/plugins/cliconf/vyos.py +++ b/plugins/cliconf/vyos.py @@ -16,7 +16,6 @@ # You should have received a copy of the GNU General Public License # along with Ansible. If not, see . # -# pylint: skip-file from __future__ import absolute_import, division, print_function __metaclass__ = type diff --git a/plugins/module_utils/network/vyos/argspec/facts/facts.py b/plugins/module_utils/network/vyos/argspec/facts/facts.py index 1f0cca7..46fabaa 100644 --- a/plugins/module_utils/network/vyos/argspec/facts/facts.py +++ b/plugins/module_utils/network/vyos/argspec/facts/facts.py @@ -1,7 +1,6 @@ # Copyright 2019 Red Hat # GNU General Public License v3.0+ # (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) -# pylint: skip-file """ The arg spec for the vyos facts module. """ diff --git a/plugins/module_utils/network/vyos/argspec/firewall_global/firewall_global.py b/plugins/module_utils/network/vyos/argspec/firewall_global/firewall_global.py index 9871f9c..4c26773 100644 --- a/plugins/module_utils/network/vyos/argspec/firewall_global/firewall_global.py +++ b/plugins/module_utils/network/vyos/argspec/firewall_global/firewall_global.py @@ -3,7 +3,6 @@ # Copyright 2019 Red Hat # GNU General Public License v3.0+ # (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) -# pylint: skip-file ############################################# # WARNING # diff --git a/plugins/module_utils/network/vyos/argspec/firewall_interfaces/firewall_interfaces.py b/plugins/module_utils/network/vyos/argspec/firewall_interfaces/firewall_interfaces.py index c49110c..f083485 100644 --- a/plugins/module_utils/network/vyos/argspec/firewall_interfaces/firewall_interfaces.py +++ b/plugins/module_utils/network/vyos/argspec/firewall_interfaces/firewall_interfaces.py @@ -3,7 +3,6 @@ # Copyright 2019 Red Hat # GNU General Public License v3.0+ # (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) -# pylint: skip-file ############################################# # WARNING # diff --git a/plugins/module_utils/network/vyos/argspec/firewall_rules/firewall_rules.py b/plugins/module_utils/network/vyos/argspec/firewall_rules/firewall_rules.py index 2f23d91..a018cc0 100644 --- a/plugins/module_utils/network/vyos/argspec/firewall_rules/firewall_rules.py +++ b/plugins/module_utils/network/vyos/argspec/firewall_rules/firewall_rules.py @@ -3,7 +3,6 @@ # Copyright 2019 Red Hat # GNU General Public License v3.0+ # (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) -# pylint: skip-file ############################################# # WARNING # diff --git a/plugins/module_utils/network/vyos/argspec/interfaces/interfaces.py b/plugins/module_utils/network/vyos/argspec/interfaces/interfaces.py index b45c80f..fd8b612 100644 --- a/plugins/module_utils/network/vyos/argspec/interfaces/interfaces.py +++ b/plugins/module_utils/network/vyos/argspec/interfaces/interfaces.py @@ -1,7 +1,6 @@ # Copyright 2019 Red Hat # GNU General Public License v3.0+ # (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) -# pylint: skip-file ############################################# # WARNING # diff --git a/plugins/module_utils/network/vyos/argspec/l3_interfaces/l3_interfaces.py b/plugins/module_utils/network/vyos/argspec/l3_interfaces/l3_interfaces.py index 820d7f9..2f1dfe4 100644 --- a/plugins/module_utils/network/vyos/argspec/l3_interfaces/l3_interfaces.py +++ b/plugins/module_utils/network/vyos/argspec/l3_interfaces/l3_interfaces.py @@ -3,7 +3,6 @@ # Copyright 2019 Red Hat # GNU General Public License v3.0+ # (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) -# pylint: skip-file ############################################# # WARNING # diff --git a/plugins/module_utils/network/vyos/argspec/lag_interfaces/lag_interfaces.py b/plugins/module_utils/network/vyos/argspec/lag_interfaces/lag_interfaces.py index 970f81b..6cfdabf 100644 --- a/plugins/module_utils/network/vyos/argspec/lag_interfaces/lag_interfaces.py +++ b/plugins/module_utils/network/vyos/argspec/lag_interfaces/lag_interfaces.py @@ -1,7 +1,6 @@ # Copyright 2019 Red Hat # GNU General Public License v3.0+ # (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) -# pylint: skip-file ############################################# # WARNING # diff --git a/plugins/module_utils/network/vyos/argspec/lldp_global/lldp_global.py b/plugins/module_utils/network/vyos/argspec/lldp_global/lldp_global.py index c9e4f88..6205fd7 100644 --- a/plugins/module_utils/network/vyos/argspec/lldp_global/lldp_global.py +++ b/plugins/module_utils/network/vyos/argspec/lldp_global/lldp_global.py @@ -1,7 +1,6 @@ # Copyright 2019 Red Hat # GNU General Public License v3.0+ # (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) -# pylint: skip-file ############################################# # WARNING # diff --git a/plugins/module_utils/network/vyos/argspec/lldp_interfaces/lldp_interfaces.py b/plugins/module_utils/network/vyos/argspec/lldp_interfaces/lldp_interfaces.py index f80b272..109ea43 100644 --- a/plugins/module_utils/network/vyos/argspec/lldp_interfaces/lldp_interfaces.py +++ b/plugins/module_utils/network/vyos/argspec/lldp_interfaces/lldp_interfaces.py @@ -3,7 +3,6 @@ # Copyright 2019 Red Hat # GNU General Public License v3.0+ # (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) -# pylint: skip-file ############################################# # WARNING # diff --git a/plugins/module_utils/network/vyos/argspec/ospfv2/ospfv2.py b/plugins/module_utils/network/vyos/argspec/ospfv2/ospfv2.py index af64d57..b4cdadf 100644 --- a/plugins/module_utils/network/vyos/argspec/ospfv2/ospfv2.py +++ b/plugins/module_utils/network/vyos/argspec/ospfv2/ospfv2.py @@ -3,7 +3,6 @@ # Copyright 2019 Red Hat # GNU General Public License v3.0+ # (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) -# pylint: skip-file from __future__ import absolute_import, division, print_function diff --git a/plugins/module_utils/network/vyos/argspec/ospfv3/ospfv3.py b/plugins/module_utils/network/vyos/argspec/ospfv3/ospfv3.py index 1631c51..25f979c 100644 --- a/plugins/module_utils/network/vyos/argspec/ospfv3/ospfv3.py +++ b/plugins/module_utils/network/vyos/argspec/ospfv3/ospfv3.py @@ -3,7 +3,6 @@ # Copyright 2019 Red Hat # GNU General Public License v3.0+ # (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) -# pylint: skip-file from __future__ import absolute_import, division, print_function diff --git a/plugins/module_utils/network/vyos/argspec/static_routes/static_routes.py b/plugins/module_utils/network/vyos/argspec/static_routes/static_routes.py index d2dc617..8ecd955 100644 --- a/plugins/module_utils/network/vyos/argspec/static_routes/static_routes.py +++ b/plugins/module_utils/network/vyos/argspec/static_routes/static_routes.py @@ -3,7 +3,6 @@ # Copyright 2019 Red Hat # GNU General Public License v3.0+ # (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) -# pylint: skip-file ############################################# # WARNING # diff --git a/plugins/module_utils/network/vyos/config/firewall_global/firewall_global.py b/plugins/module_utils/network/vyos/config/firewall_global/firewall_global.py index 5480a56..afc9853 100644 --- a/plugins/module_utils/network/vyos/config/firewall_global/firewall_global.py +++ b/plugins/module_utils/network/vyos/config/firewall_global/firewall_global.py @@ -3,7 +3,6 @@ # Copyright 2019 Red Hat # GNU General Public License v3.0+ # (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) -# pylint: skip-file """ The vyos_firewall_global class It is in this file where the current configuration (as dict) diff --git a/plugins/module_utils/network/vyos/config/firewall_interfaces/firewall_interfaces.py b/plugins/module_utils/network/vyos/config/firewall_interfaces/firewall_interfaces.py index 7e19cdf..bd2fbab 100644 --- a/plugins/module_utils/network/vyos/config/firewall_interfaces/firewall_interfaces.py +++ b/plugins/module_utils/network/vyos/config/firewall_interfaces/firewall_interfaces.py @@ -3,7 +3,6 @@ # Copyright 2019 Red Hat # GNU General Public License v3.0+ # (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) -# pylint: skip-file """ The vyos_firewall_interfaces class It is in this file where the current configuration (as dict) diff --git a/plugins/module_utils/network/vyos/config/firewall_rules/firewall_rules.py b/plugins/module_utils/network/vyos/config/firewall_rules/firewall_rules.py index 1223e59..5c37741 100644 --- a/plugins/module_utils/network/vyos/config/firewall_rules/firewall_rules.py +++ b/plugins/module_utils/network/vyos/config/firewall_rules/firewall_rules.py @@ -3,7 +3,6 @@ # Copyright 2019 Red Hat # GNU General Public License v3.0+ # (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) -# pylint: skip-file """ The vyos_firewall_rules class It is in this file where the current configuration (as dict) diff --git a/plugins/module_utils/network/vyos/config/interfaces/interfaces.py b/plugins/module_utils/network/vyos/config/interfaces/interfaces.py index ea0a05a..51bf98e 100644 --- a/plugins/module_utils/network/vyos/config/interfaces/interfaces.py +++ b/plugins/module_utils/network/vyos/config/interfaces/interfaces.py @@ -1,7 +1,6 @@ # Copyright 2019 Red Hat # GNU General Public License v3.0+ # (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) -# pylint: skip-file """ The vyos_interfaces class It is in this file where the current configuration (as dict) diff --git a/plugins/module_utils/network/vyos/config/l3_interfaces/l3_interfaces.py b/plugins/module_utils/network/vyos/config/l3_interfaces/l3_interfaces.py index 45569d3..122cc1e 100644 --- a/plugins/module_utils/network/vyos/config/l3_interfaces/l3_interfaces.py +++ b/plugins/module_utils/network/vyos/config/l3_interfaces/l3_interfaces.py @@ -3,7 +3,6 @@ # Copyright 2019 Red Hat # GNU General Public License v3.0+ # (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) -# pylint: skip-file """ The vyos_l3_interfaces class It is in this file where the current configuration (as dict) diff --git a/plugins/module_utils/network/vyos/config/lag_interfaces/lag_interfaces.py b/plugins/module_utils/network/vyos/config/lag_interfaces/lag_interfaces.py index 94c526c..452670f 100644 --- a/plugins/module_utils/network/vyos/config/lag_interfaces/lag_interfaces.py +++ b/plugins/module_utils/network/vyos/config/lag_interfaces/lag_interfaces.py @@ -1,7 +1,6 @@ # Copyright 2019 Red Hat # GNU General Public License v3.0+ # (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) -# pylint: skip-file """ The vyos_lag_interfaces class It is in this file where the current configuration (as dict) diff --git a/plugins/module_utils/network/vyos/config/lldp_global/lldp_global.py b/plugins/module_utils/network/vyos/config/lldp_global/lldp_global.py index 284fe12..c70d27f 100644 --- a/plugins/module_utils/network/vyos/config/lldp_global/lldp_global.py +++ b/plugins/module_utils/network/vyos/config/lldp_global/lldp_global.py @@ -1,7 +1,6 @@ # Copyright 2019 Red Hat # GNU General Public License v3.0+ # (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) -# pylint: skip-file """ The vyos_lldp_global class It is in this file where the current configuration (as dict) diff --git a/plugins/module_utils/network/vyos/config/lldp_interfaces/lldp_interfaces.py b/plugins/module_utils/network/vyos/config/lldp_interfaces/lldp_interfaces.py index 101e1d6..94e39c3 100644 --- a/plugins/module_utils/network/vyos/config/lldp_interfaces/lldp_interfaces.py +++ b/plugins/module_utils/network/vyos/config/lldp_interfaces/lldp_interfaces.py @@ -3,7 +3,6 @@ # Copyright 2019 Red Hat # GNU General Public License v3.0+ # (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) -# pylint: skip-file """ The vyos_lldp_interfaces class It is in this file where the current configuration (as dict) diff --git a/plugins/module_utils/network/vyos/config/ospfv2/ospfv2.py b/plugins/module_utils/network/vyos/config/ospfv2/ospfv2.py index b9f24f4..fd25c17 100644 --- a/plugins/module_utils/network/vyos/config/ospfv2/ospfv2.py +++ b/plugins/module_utils/network/vyos/config/ospfv2/ospfv2.py @@ -3,7 +3,6 @@ # Copyright 2019 Red Hat # GNU General Public License v3.0+ # (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) -# pylint: skip-file """ The vyos_ospfv2 class It is in this file where the current configuration (as dict) diff --git a/plugins/module_utils/network/vyos/config/ospfv3/ospfv3.py b/plugins/module_utils/network/vyos/config/ospfv3/ospfv3.py index a254a93..acda380 100644 --- a/plugins/module_utils/network/vyos/config/ospfv3/ospfv3.py +++ b/plugins/module_utils/network/vyos/config/ospfv3/ospfv3.py @@ -3,7 +3,6 @@ # Copyright 2019 Red Hat # GNU General Public License v3.0+ # (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) -# pylint: skip-file """ The vyos_ospfv3 class It is in this file where the current configuration (as dict) diff --git a/plugins/module_utils/network/vyos/config/static_routes/static_routes.py b/plugins/module_utils/network/vyos/config/static_routes/static_routes.py index f0dd4f6..b359dbb 100644 --- a/plugins/module_utils/network/vyos/config/static_routes/static_routes.py +++ b/plugins/module_utils/network/vyos/config/static_routes/static_routes.py @@ -3,7 +3,6 @@ # Copyright 2019 Red Hat # GNU General Public License v3.0+ # (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) -# pylint: skip-file """ The vyos_static_routes class It is in this file where the current configuration (as dict) diff --git a/plugins/module_utils/network/vyos/facts/facts.py b/plugins/module_utils/network/vyos/facts/facts.py index 0d90df4..4c7b340 100644 --- a/plugins/module_utils/network/vyos/facts/facts.py +++ b/plugins/module_utils/network/vyos/facts/facts.py @@ -1,7 +1,6 @@ # Copyright 2019 Red Hat # GNU General Public License v3.0+ # (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) -# pylint: skip-file """ The facts class for vyos this file validates each subset of facts and selectively diff --git a/plugins/module_utils/network/vyos/facts/firewall_global/firewall_global.py b/plugins/module_utils/network/vyos/facts/firewall_global/firewall_global.py index 37f90f3..0823259 100644 --- a/plugins/module_utils/network/vyos/facts/firewall_global/firewall_global.py +++ b/plugins/module_utils/network/vyos/facts/firewall_global/firewall_global.py @@ -3,7 +3,6 @@ # Copyright 2019 Red Hat # GNU General Public License v3.0+ # (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) -# pylint: skip-file """ The vyos firewall_global fact class It is in this file the configuration is collected from the device diff --git a/plugins/module_utils/network/vyos/facts/firewall_interfaces/firewall_interfaces.py b/plugins/module_utils/network/vyos/facts/firewall_interfaces/firewall_interfaces.py index 0992d87..4640748 100644 --- a/plugins/module_utils/network/vyos/facts/firewall_interfaces/firewall_interfaces.py +++ b/plugins/module_utils/network/vyos/facts/firewall_interfaces/firewall_interfaces.py @@ -3,7 +3,6 @@ # Copyright 2019 Red Hat # GNU General Public License v3.0+ # (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) -# pylint: skip-file """ The vyos firewall_interfaces fact class It is in this file the configuration is collected from the device diff --git a/plugins/module_utils/network/vyos/facts/firewall_rules/firewall_rules.py b/plugins/module_utils/network/vyos/facts/firewall_rules/firewall_rules.py index 3b66192..971ea6f 100644 --- a/plugins/module_utils/network/vyos/facts/firewall_rules/firewall_rules.py +++ b/plugins/module_utils/network/vyos/facts/firewall_rules/firewall_rules.py @@ -3,7 +3,6 @@ # Copyright 2019 Red Hat # GNU General Public License v3.0+ # (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) -# pylint: skip-file """ The vyos firewall_rules fact class It is in this file the configuration is collected from the device diff --git a/plugins/module_utils/network/vyos/facts/interfaces/interfaces.py b/plugins/module_utils/network/vyos/facts/interfaces/interfaces.py index fe8e18c..4b24803 100644 --- a/plugins/module_utils/network/vyos/facts/interfaces/interfaces.py +++ b/plugins/module_utils/network/vyos/facts/interfaces/interfaces.py @@ -3,7 +3,6 @@ # Copyright 2019 Red Hat # GNU General Public License v3.0+ # (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) -# pylint: skip-file """ The vyos interfaces fact class It is in this file the configuration is collected from the device diff --git a/plugins/module_utils/network/vyos/facts/l3_interfaces/l3_interfaces.py b/plugins/module_utils/network/vyos/facts/l3_interfaces/l3_interfaces.py index a21c667..eac8467 100644 --- a/plugins/module_utils/network/vyos/facts/l3_interfaces/l3_interfaces.py +++ b/plugins/module_utils/network/vyos/facts/l3_interfaces/l3_interfaces.py @@ -3,7 +3,6 @@ # Copyright 2019 Red Hat # GNU General Public License v3.0+ # (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) -# pylint: skip-file """ The vyos l3_interfaces fact class It is in this file the configuration is collected from the device diff --git a/plugins/module_utils/network/vyos/facts/lag_interfaces/lag_interfaces.py b/plugins/module_utils/network/vyos/facts/lag_interfaces/lag_interfaces.py index b91c3b9..9056294 100644 --- a/plugins/module_utils/network/vyos/facts/lag_interfaces/lag_interfaces.py +++ b/plugins/module_utils/network/vyos/facts/lag_interfaces/lag_interfaces.py @@ -3,7 +3,6 @@ # Copyright 2019 Red Hat # GNU General Public License v3.0+ # (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) -# pylint: skip-file """ The vyos lag_interfaces fact class It is in this file the configuration is collected from the device diff --git a/plugins/module_utils/network/vyos/facts/legacy/base.py b/plugins/module_utils/network/vyos/facts/legacy/base.py index 764d5dc..f6b343e 100644 --- a/plugins/module_utils/network/vyos/facts/legacy/base.py +++ b/plugins/module_utils/network/vyos/facts/legacy/base.py @@ -2,7 +2,6 @@ # Copyright 2019 Red Hat # GNU General Public License v3.0+ # (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) -# pylint: skip-file """ The VyOS interfaces fact class It is in this file the configuration is collected from the device diff --git a/plugins/module_utils/network/vyos/facts/lldp_global/lldp_global.py b/plugins/module_utils/network/vyos/facts/lldp_global/lldp_global.py index fa21b68..3c7e2f9 100644 --- a/plugins/module_utils/network/vyos/facts/lldp_global/lldp_global.py +++ b/plugins/module_utils/network/vyos/facts/lldp_global/lldp_global.py @@ -3,7 +3,6 @@ # Copyright 2019 Red Hat # GNU General Public License v3.0+ # (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) -# pylint: skip-file """ The vyos lldp_global fact class It is in this file the configuration is collected from the device diff --git a/plugins/module_utils/network/vyos/facts/lldp_interfaces/lldp_interfaces.py b/plugins/module_utils/network/vyos/facts/lldp_interfaces/lldp_interfaces.py index 8cf9ef8..dcfbc6e 100644 --- a/plugins/module_utils/network/vyos/facts/lldp_interfaces/lldp_interfaces.py +++ b/plugins/module_utils/network/vyos/facts/lldp_interfaces/lldp_interfaces.py @@ -3,7 +3,6 @@ # Copyright 2019 Red Hat # GNU General Public License v3.0+ # (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) -# pylint: skip-file """ The vyos lldp_interfaces fact class It is in this file the configuration is collected from the device diff --git a/plugins/module_utils/network/vyos/facts/ospfv2/ospfv2.py b/plugins/module_utils/network/vyos/facts/ospfv2/ospfv2.py index b58689d..d62fa9a 100644 --- a/plugins/module_utils/network/vyos/facts/ospfv2/ospfv2.py +++ b/plugins/module_utils/network/vyos/facts/ospfv2/ospfv2.py @@ -3,7 +3,6 @@ # Copyright 2019 Red Hat # GNU General Public License v3.0+ # (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) -# pylint: skip-file """ The vyos ospfv2 fact class It is in this file the configuration is collected from the device diff --git a/plugins/module_utils/network/vyos/facts/ospfv3/ospfv3.py b/plugins/module_utils/network/vyos/facts/ospfv3/ospfv3.py index 8c2681e..457a963 100644 --- a/plugins/module_utils/network/vyos/facts/ospfv3/ospfv3.py +++ b/plugins/module_utils/network/vyos/facts/ospfv3/ospfv3.py @@ -3,7 +3,6 @@ # Copyright 2019 Red Hat # GNU General Public License v3.0+ # (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) -# pylint: skip-file """ The vyos ospfv3 fact class It is in this file the configuration is collected from the device diff --git a/plugins/module_utils/network/vyos/facts/static_routes/static_routes.py b/plugins/module_utils/network/vyos/facts/static_routes/static_routes.py index 2c92aa8..0004947 100644 --- a/plugins/module_utils/network/vyos/facts/static_routes/static_routes.py +++ b/plugins/module_utils/network/vyos/facts/static_routes/static_routes.py @@ -3,7 +3,6 @@ # Copyright 2019 Red Hat # GNU General Public License v3.0+ # (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) -# pylint: skip-file """ The vyos static_routes fact class It is in this file the configuration is collected from the device diff --git a/plugins/module_utils/network/vyos/utils/utils.py b/plugins/module_utils/network/vyos/utils/utils.py index c00448a..7e0f3cc 100644 --- a/plugins/module_utils/network/vyos/utils/utils.py +++ b/plugins/module_utils/network/vyos/utils/utils.py @@ -2,7 +2,6 @@ # Copyright 2019 Red Hat # GNU General Public License v3.0+ # (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) -# pylint: skip-file # utils from __future__ import absolute_import, division, print_function diff --git a/plugins/module_utils/network/vyos/vyos.py b/plugins/module_utils/network/vyos/vyos.py index c4c77e3..908395a 100644 --- a/plugins/module_utils/network/vyos/vyos.py +++ b/plugins/module_utils/network/vyos/vyos.py @@ -25,7 +25,6 @@ # LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE # USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # -# pylint: skip-file import json from ansible.module_utils._text import to_text diff --git a/plugins/modules/vyos_banner.py b/plugins/modules/vyos_banner.py index e11173e..aa0bd5c 100644 --- a/plugins/modules/vyos_banner.py +++ b/plugins/modules/vyos_banner.py @@ -18,7 +18,6 @@ # You should have received a copy of the GNU General Public License # along with Ansible. If not, see . # -# pylint: skip-file DOCUMENTATION = """ diff --git a/plugins/modules/vyos_command.py b/plugins/modules/vyos_command.py index 2bf5899..eec4344 100644 --- a/plugins/modules/vyos_command.py +++ b/plugins/modules/vyos_command.py @@ -15,7 +15,6 @@ # You should have received a copy of the GNU General Public License # along with Ansible. If not, see . # -# pylint: skip-file DOCUMENTATION = """ @@ -189,7 +188,7 @@ def main(): interval = module.params["interval"] match = module.params["match"] - for _ in range(retries): + for item in range(retries): responses = run_commands(module, commands) for item in list(conditionals): diff --git a/plugins/modules/vyos_config.py b/plugins/modules/vyos_config.py index 0453e33..baa63f3 100644 --- a/plugins/modules/vyos_config.py +++ b/plugins/modules/vyos_config.py @@ -15,7 +15,6 @@ # You should have received a copy of the GNU General Public License # along with Ansible. If not, see . # -# pylint: skip-file DOCUMENTATION = """ diff --git a/plugins/modules/vyos_facts.py b/plugins/modules/vyos_facts.py index 42c327e..7521a3b 100644 --- a/plugins/modules/vyos_facts.py +++ b/plugins/modules/vyos_facts.py @@ -3,7 +3,6 @@ # Copyright 2019 Red Hat # GNU General Public License v3.0+ # (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) -# pylint: skip-file """ The module file for vyos_facts """ diff --git a/plugins/modules/vyos_firewall_global.py b/plugins/modules/vyos_firewall_global.py index 0fa8395..0574aa8 100644 --- a/plugins/modules/vyos_firewall_global.py +++ b/plugins/modules/vyos_firewall_global.py @@ -21,7 +21,6 @@ # builder template. # ############################################# -# pylint: skip-file """ The module file for vyos_firewall_global diff --git a/plugins/modules/vyos_firewall_interfaces.py b/plugins/modules/vyos_firewall_interfaces.py index b702cea..7ca936d 100644 --- a/plugins/modules/vyos_firewall_interfaces.py +++ b/plugins/modules/vyos_firewall_interfaces.py @@ -21,7 +21,6 @@ # builder template. # ############################################# -# pylint: skip-file """ The module file for vyos_firewall_interfaces diff --git a/plugins/modules/vyos_firewall_rules.py b/plugins/modules/vyos_firewall_rules.py index 9420dca..3bd6451 100644 --- a/plugins/modules/vyos_firewall_rules.py +++ b/plugins/modules/vyos_firewall_rules.py @@ -3,7 +3,6 @@ # Copyright 2019 Red Hat # GNU General Public License v3.0+ # (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) -# pylint: skip-file ############################################# # WARNING # diff --git a/plugins/modules/vyos_interface.py b/plugins/modules/vyos_interface.py index 04a29f5..be844c5 100644 --- a/plugins/modules/vyos_interface.py +++ b/plugins/modules/vyos_interface.py @@ -18,7 +18,6 @@ # You should have received a copy of the GNU General Public License # along with Ansible. If not, see . # -# pylint: skip-file from __future__ import absolute_import, division, print_function diff --git a/plugins/modules/vyos_interfaces.py b/plugins/modules/vyos_interfaces.py index 53f2c5b..47f9777 100644 --- a/plugins/modules/vyos_interfaces.py +++ b/plugins/modules/vyos_interfaces.py @@ -3,7 +3,6 @@ # Copyright 2019 Red Hat # GNU General Public License v3.0+ # (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) -# pylint: skip-file ############################################# # WARNING # diff --git a/plugins/modules/vyos_l3_interface.py b/plugins/modules/vyos_l3_interface.py index 23028c4..676d6ec 100644 --- a/plugins/modules/vyos_l3_interface.py +++ b/plugins/modules/vyos_l3_interface.py @@ -18,7 +18,6 @@ # You should have received a copy of the GNU General Public License # along with Ansible. If not, see . # -# pylint: skip-file from __future__ import absolute_import, division, print_function diff --git a/plugins/modules/vyos_l3_interfaces.py b/plugins/modules/vyos_l3_interfaces.py index e96d2bd..39dd23c 100644 --- a/plugins/modules/vyos_l3_interfaces.py +++ b/plugins/modules/vyos_l3_interfaces.py @@ -3,7 +3,6 @@ # Copyright 2019 Red Hat # GNU General Public License v3.0+ # (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) -# pylint: skip-file ############################################# # WARNING # diff --git a/plugins/modules/vyos_lag_interfaces.py b/plugins/modules/vyos_lag_interfaces.py index 14ecbd7..c2868a8 100644 --- a/plugins/modules/vyos_lag_interfaces.py +++ b/plugins/modules/vyos_lag_interfaces.py @@ -3,7 +3,6 @@ # Copyright 2019 Red Hat # GNU General Public License v3.0+ # (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) -# pylint: skip-file ############################################# # WARNING # diff --git a/plugins/modules/vyos_linkagg.py b/plugins/modules/vyos_linkagg.py index 4f45319..4e63e2f 100644 --- a/plugins/modules/vyos_linkagg.py +++ b/plugins/modules/vyos_linkagg.py @@ -18,7 +18,6 @@ # You should have received a copy of the GNU General Public License # along with Ansible. If not, see . # -# pylint: skip-file from __future__ import absolute_import, division, print_function diff --git a/plugins/modules/vyos_lldp.py b/plugins/modules/vyos_lldp.py index 05869f3..9b138c1 100644 --- a/plugins/modules/vyos_lldp.py +++ b/plugins/modules/vyos_lldp.py @@ -18,7 +18,6 @@ # You should have received a copy of the GNU General Public License # along with Ansible. If not, see . # -# pylint: skip-file from __future__ import absolute_import, division, print_function diff --git a/plugins/modules/vyos_lldp_global.py b/plugins/modules/vyos_lldp_global.py index 1706fab..017133e 100644 --- a/plugins/modules/vyos_lldp_global.py +++ b/plugins/modules/vyos_lldp_global.py @@ -3,7 +3,6 @@ # Copyright 2019 Red Hat # GNU General Public License v3.0+ # (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) -# pylint: skip-file ############################################# # WARNING # diff --git a/plugins/modules/vyos_lldp_interface.py b/plugins/modules/vyos_lldp_interface.py index ea51956..2fd1bc5 100644 --- a/plugins/modules/vyos_lldp_interface.py +++ b/plugins/modules/vyos_lldp_interface.py @@ -18,7 +18,6 @@ # You should have received a copy of the GNU General Public License # along with Ansible. If not, see . # -# pylint: skip-file from __future__ import absolute_import, division, print_function diff --git a/plugins/modules/vyos_lldp_interfaces.py b/plugins/modules/vyos_lldp_interfaces.py index 11b3fbe..4db7cb0 100644 --- a/plugins/modules/vyos_lldp_interfaces.py +++ b/plugins/modules/vyos_lldp_interfaces.py @@ -21,7 +21,6 @@ # builder template. # ############################################# -# pylint: skip-file """ The module file for vyos_lldp_interfaces diff --git a/plugins/modules/vyos_logging.py b/plugins/modules/vyos_logging.py index 934ec9a..8732647 100644 --- a/plugins/modules/vyos_logging.py +++ b/plugins/modules/vyos_logging.py @@ -18,7 +18,6 @@ # You should have received a copy of the GNU General Public License # along with Ansible. If not, see . # -# pylint: skip-file DOCUMENTATION = """ diff --git a/plugins/modules/vyos_ospfv2.py b/plugins/modules/vyos_ospfv2.py index 3c2fb8d..f890413 100644 --- a/plugins/modules/vyos_ospfv2.py +++ b/plugins/modules/vyos_ospfv2.py @@ -3,7 +3,6 @@ # Copyright 2019 Red Hat # GNU General Public License v3.0+ # (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) -# pylint: skip-file ############################################# # WARNING # diff --git a/plugins/modules/vyos_ospfv3.py b/plugins/modules/vyos_ospfv3.py index 1833e13..20296a0 100644 --- a/plugins/modules/vyos_ospfv3.py +++ b/plugins/modules/vyos_ospfv3.py @@ -3,7 +3,6 @@ # Copyright 2019 Red Hat # GNU General Public License v3.0+ # (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) -# pylint: skip-file ############################################# # WARNING # diff --git a/plugins/modules/vyos_ping.py b/plugins/modules/vyos_ping.py index 9bd31a5..9131917 100644 --- a/plugins/modules/vyos_ping.py +++ b/plugins/modules/vyos_ping.py @@ -18,7 +18,6 @@ # You should have received a copy of the GNU General Public License # along with Ansible. If not, see . # -# pylint: skip-file from __future__ import absolute_import, division, print_function diff --git a/plugins/modules/vyos_static_route.py b/plugins/modules/vyos_static_route.py index 6f1e435..67f9954 100644 --- a/plugins/modules/vyos_static_route.py +++ b/plugins/modules/vyos_static_route.py @@ -18,7 +18,6 @@ # You should have received a copy of the GNU General Public License # along with Ansible. If not, see . # -# pylint: skip-file from __future__ import absolute_import, division, print_function diff --git a/plugins/modules/vyos_static_routes.py b/plugins/modules/vyos_static_routes.py index 5ca62ff..fa29b72 100644 --- a/plugins/modules/vyos_static_routes.py +++ b/plugins/modules/vyos_static_routes.py @@ -3,7 +3,6 @@ # Copyright 2019 Red Hat # GNU General Public License v3.0+ # (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) -# pylint: skip-file ############################################# # WARNING # diff --git a/plugins/modules/vyos_system.py b/plugins/modules/vyos_system.py index 804140f..53b04c8 100644 --- a/plugins/modules/vyos_system.py +++ b/plugins/modules/vyos_system.py @@ -16,7 +16,6 @@ # You should have received a copy of the GNU General Public License # along with Ansible. If not, see . # -# pylint: skip-file DOCUMENTATION = """ diff --git a/plugins/modules/vyos_user.py b/plugins/modules/vyos_user.py index 358f585..d788a99 100644 --- a/plugins/modules/vyos_user.py +++ b/plugins/modules/vyos_user.py @@ -18,7 +18,6 @@ # You should have received a copy of the GNU General Public License # along with Ansible. If not, see . # -# pylint: skip-file DOCUMENTATION = """ diff --git a/plugins/modules/vyos_vlan.py b/plugins/modules/vyos_vlan.py index c9fa8ee..a271dd4 100644 --- a/plugins/modules/vyos_vlan.py +++ b/plugins/modules/vyos_vlan.py @@ -3,7 +3,6 @@ # Copyright: (c) 2017, Ansible by Red Hat, inc # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) -# pylint: skip-file from __future__ import absolute_import, division, print_function diff --git a/plugins/terminal/vyos.py b/plugins/terminal/vyos.py index 26f9e5e..606f77b 100644 --- a/plugins/terminal/vyos.py +++ b/plugins/terminal/vyos.py @@ -16,7 +16,6 @@ # You should have received a copy of the GNU General Public License # along with Ansible. If not, see . # -# pylint: skip-file from __future__ import absolute_import, division, print_function __metaclass__ = type -- cgit v1.2.3