mirror of https://github.com/ansible/ansible.git
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
9f7b0dfc30
* 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:
|
7 years ago | |
---|---|---|
.. | ||
ansible-var-precedence-check.py | 8 years ago | |
boilerplate.sh | 8 years ago | |
configure-remoting-ps1.sh | ||
empty-init.sh | ||
inappropriately-private.sh | ||
integration-aliases.py | ||
line-endings.sh | 8 years ago | |
no-basestring.sh | 7 years ago | |
no-dict-iteritems.sh | 7 years ago | |
no-dict-iterkeys.sh | 7 years ago | |
no-dict-itervalues.sh | 7 years ago | |
no-list-cmp.sh | 7 years ago | |
pylint-ansible-test.sh | 8 years ago | |
replace-urlopen.sh | 7 years ago | |
required-and-default-attributes.sh | ||
shebang.sh | 8 years ago | |
skip.txt | ||
test-constraints.sh | 8 years ago | |
use-compat-six.sh | 8 years ago |