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.vyos-04d6824f87023ec59dfed5eacb7684b024b15f32.tar.gz vyos.vyos-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 e11173ed..aa0bd5c5 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 2bf58993..eec43441 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 0453e335..baa63f33 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 42c327e1..7521a3b6 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 0fa83953..0574aa87 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 b702cea6..7ca936dd 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 9420dcad..3bd6451d 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 04a29f5a..be844c59 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 53f2c5b3..47f9777b 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 23028c41..676d6eca 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 e96d2bd1..39dd23c1 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 14ecbd78..c2868a85 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 4f453198..4e63e2f3 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 05869f39..9b138c1b 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 1706fab8..017133e4 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 ea519566..2fd1bc5c 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 11b3fbec..4db7cb0c 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 934ec9a5..8732647d 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 3c2fb8d8..f8904133 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 1833e132..20296a0f 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 9bd31a52..91319178 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 6f1e4355..67f99543 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 5ca62ffd..fa29b722 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 804140f7..53b04c8c 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 358f5851..d788a99f 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 c9fa8ee9..a271dd43 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 |