community.general/lib/ansible/modules/network/cnos
Matt Clay c24c19594e
Enable pylint rules and fix exposed bugs. (#47219)
* Resolve invalid-unary-operand-type.

* Resolve raising-format-tuple.

* Resolve stop-iteration-return.

* Use disable comment instead of fixing logic.

The affected line in _find_address_range will only fail on Python 3.7
and later if the function is called with an empty address list. As an
internal method it is never called in this way, making it a non-issue
for use via public methods.

Using a comment to disable the rule in favor of an ignore.txt entry
since there are no plans to change the logic in the code itself. This
will also prevent any potential future issues being added in other
parts of the code when updating it based on upstream changes.
2018-10-19 08:32:52 -07:00
..
__init__.py
cnos_backup.py Enable pylint rules and fix exposed bugs. (#47219) 2018-10-19 08:32:52 -07:00
cnos_bgp.py Lenovo finetune modules (#46623) 2018-10-11 09:49:49 -04:00
cnos_command.py Modifying cnos-facts, cnos_command and cnos-config in line with the design followed in Ansible. Adding unit test cases for these modules. Added plugins to support them. (#39955) 2018-05-17 10:06:24 -04:00
cnos_conditional_command.py Lenovo finetune modules (#46623) 2018-10-11 09:49:49 -04:00
cnos_conditional_template.py Lenovo finetune modules (#46623) 2018-10-11 09:49:49 -04:00
cnos_config.py Lenovo finetune modules (#46623) 2018-10-11 09:49:49 -04:00
cnos_factory.py Lenovo finetune modules (#46623) 2018-10-11 09:49:49 -04:00
cnos_facts.py Lenovo finetune modules (#46623) 2018-10-11 09:49:49 -04:00
cnos_image.py Enable pylint rules and fix exposed bugs. (#47219) 2018-10-19 08:32:52 -07:00
cnos_interface.py Lenovo finetune modules (#46623) 2018-10-11 09:49:49 -04:00
cnos_portchannel.py Lenovo finetune modules (#46623) 2018-10-11 09:49:49 -04:00
cnos_reload.py Lenovo finetune modules (#46623) 2018-10-11 09:49:49 -04:00
cnos_rollback.py Lenovo finetune modules (#46623) 2018-10-11 09:49:49 -04:00
cnos_save.py Lenovo finetune modules (#46623) 2018-10-11 09:49:49 -04:00
cnos_showrun.py Lenovo finetune modules (#46623) 2018-10-11 09:49:49 -04:00
cnos_template.py Lenovo finetune modules (#46623) 2018-10-11 09:49:49 -04:00
cnos_vlag.py Lenovo finetune modules (#46623) 2018-10-11 09:49:49 -04:00
cnos_vlan.py Lenovo finetune modules (#46623) 2018-10-11 09:49:49 -04:00