diff options
author | Paul Belanger <pabelanger@redhat.com> | 2020-06-19 12:10:16 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-19 16:10:16 +0000 |
commit | 04d6824f87023ec59dfed5eacb7684b024b15f32 (patch) | |
tree | 7fe8708b29403328bc147966ef8d9dc110052cff /plugins/modules | |
parent | fa9d2a77845c521a4536e5a671c9328b34e58e17 (diff) | |
download | vyos-ansible-collection-04d6824f87023ec59dfed5eacb7684b024b15f32.tar.gz vyos-ansible-collection-04d6824f87023ec59dfed5eacb7684b024b15f32.zip |
Remove # pylint: skip-file usage (#47)0.0.4
Remove # pylint: skip-file usage
Reviewed-by: Paul Belanger
https://github.com/pabelanger
Diffstat (limited to 'plugins/modules')
26 files changed, 1 insertions, 27 deletions
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 <http://www.gnu.org/licenses/>. # -# 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 <http://www.gnu.org/licenses/>. # -# 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 <http://www.gnu.org/licenses/>. # -# 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 <http://www.gnu.org/licenses/>. # -# 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 <http://www.gnu.org/licenses/>. # -# 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 <http://www.gnu.org/licenses/>. # -# 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 <http://www.gnu.org/licenses/>. # -# 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 <http://www.gnu.org/licenses/>. # -# 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 <http://www.gnu.org/licenses/>. # -# 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 <http://www.gnu.org/licenses/>. # -# 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 <http://www.gnu.org/licenses/>. # -# 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 <http://www.gnu.org/licenses/>. # -# 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 <http://www.gnu.org/licenses/>. # -# 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 |