1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00
community.general/test/sanity
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
..
ansible-doc Remove deprecated os_server_actions alias (#47208) 2018-10-18 16:44:44 +10:00
code-smell Remove get_exception from the remainder of the modules 2018-10-18 08:37:04 -07:00
compile Overhaul additional sanity tests. (#36803) 2018-02-27 15:05:39 -08:00
import Add symlinks sanity test. (#46467) 2018-10-04 07:02:42 -07:00
pep8 Enable PEP8 testing of E305 2018-07-31 12:06:56 -07:00
pslint ps-lint: ignore rules that are not relevant to Ansible (#46376) 2018-10-04 05:55:02 +10:00
pylint Enable pylint rules and fix exposed bugs. (#47219) 2018-10-19 08:32:52 -07:00
rstcheck Add rstcheck to ansible-test and correct issues. (#23550) 2017-04-13 10:28:52 -07:00
shellcheck Test cleanup. 2018-01-11 13:43:10 -08:00
validate-modules option [others] of get_url is unnecessary (#47005) 2018-10-15 09:24:48 -05:00
yamllint Add yamllint for plugin docs and fix issues. 2018-05-23 09:19:30 -07:00
ansible.cfg Fix ansible-test config management. 2017-10-04 12:52:36 -07:00