diff options
author | Scott Moser <smoser@ubuntu.com> | 2018-03-15 11:45:12 -0400 |
---|---|---|
committer | Scott Moser <smoser@brickies.net> | 2018-03-15 11:45:12 -0400 |
commit | bef2f2c945fdee4a1141c3177b3e48b1537027e4 (patch) | |
tree | 2b85e97eff63df46075eab57dadbedbcc23de410 /.pylintrc | |
parent | 133ad2cb327ad17b7b81319fac8f9f14577c04df (diff) | |
download | vyos-cloud-init-bef2f2c945fdee4a1141c3177b3e48b1537027e4.tar.gz vyos-cloud-init-bef2f2c945fdee4a1141c3177b3e48b1537027e4.zip |
tests: Fix some warnings in tests that popped up with newer python.
When running 'tox -e pylint' on a bionic system (python 3.6.4) I started
seeing errors today like:
tests/cloud_tests/platforms/__init__.py:5: [E0401(import-error), ]
Unable to import 'tests.cloud_tests.platforms.ec2'
The fix for those first errors was simply to create the __init__.py.
The second set of changes fixes fallout found from actually now having
pylint properly run on more of the cloud_tests.
Diffstat (limited to '.pylintrc')
-rw-r--r-- | .pylintrc | 12 |
1 files changed, 11 insertions, 1 deletions
@@ -46,7 +46,17 @@ reports=no # (useful for modules/projects where namespaces are manipulated during runtime # and thus existing member attributes cannot be deduced by static analysis. It # supports qualified module names, as well as Unix pattern matching. -ignored-modules=six.moves,pkg_resources,httplib,http.client,paramiko,simplestreams +ignored-modules= + http.client, + httplib, + pkg_resources, + six.moves, + # cloud_tests requirements. + boto3, + botocore, + paramiko, + pylxd, + simplestreams # List of class names for which member attributes should not be checked (useful # for classes with dynamically set attributes). This supports the use of |