ansible/test/sanity
Toshio Kuratomi 9f7b0dfc30 Remove automatic use of system six
* Enable the pylint no-name-in-module check.  Checks that identifiers in
  imports actually exist.  When we do this, we also have to ignore
  _MovedItems used in our bundled six.  This means pylint won't check
  for bad imports below ansible.module_utils.six.moves but that's
  something that pylint punts on with a system copy of six so this is
  still an improvement.
* Remove automatic use of system six.  The exec in the six code which
  tried to use a system library if available destroyed pylint's ability
  to check for imports of identifiers which did not exist (the
  no-name-in-module check).  That test is important enough that we
  should sacrifice the bundling detection in favour of the test.
  Distributions that want to unbundle six can replace the bundled six in
  ansible/module_utils/six/__init__.py to unbundle.  however, be aware
  that six is tricky to unbundle.  They may want to base their efforts
  off the code we were using:

  2fff690caa/lib/ansible/module_utils/six/__init__.py

* Update tests for new location of bundled six Several code-smell tests
  whitelist the bundled six library.  Update the path to the library so
  that they work.

* Also check for basestring in modules as the enabled pylint tests will
  also point out basestring usage for us.
2017-07-25 15:58:23 -07:00
..
ansible-doc Remove remnants of obsolete fireball mode. 2016-12-09 16:56:34 -07:00
code-smell Remove automatic use of system six 2017-07-25 15:58:23 -07:00
import Fix cloudformation module for import of non-module_utils file 2017-07-24 18:19:32 -07:00
pep8 openssl_privatekey: Standardize implementaton of the module 2017-07-25 15:31:11 +02:00
pylint Remove automatic use of system six 2017-07-25 15:58:23 -07:00
rstcheck Add rstcheck to ansible-test and correct issues. (#23550) 2017-04-13 10:28:52 -07:00
shellcheck Disable newer shellcheck tests which don't pass. 2017-02-27 22:31:47 -08:00
validate-modules Fix test for missing __init__.py for modules. 2017-06-22 12:19:25 -07:00