diff --git a/src/sbin/lorax-composer b/src/sbin/lorax-composer index ff02af91..b007b1bd 100755 --- a/src/sbin/lorax-composer +++ b/src/sbin/lorax-composer @@ -43,6 +43,9 @@ from pylorax.api.recipes import open_or_create_repo, commit_recipe_directory from pylorax.api.server import server, GitLock from pylorax.api.yumbase import YumLock +# pylint has trouble with gevent's socket module, doesn't recognize some of its members +# pylint: disable=no-member + VERSION = "{0}-{1}".format(os.path.basename(sys.argv[0]), vernum) DEFAULT_USER = "root" diff --git a/tests/pylorax/test_crossdomain.py b/tests/pylorax/test_crossdomain.py index d3a585b1..6061e155 100644 --- a/tests/pylorax/test_crossdomain.py +++ b/tests/pylorax/test_crossdomain.py @@ -20,6 +20,8 @@ from datetime import timedelta from pylorax.api.crossdomain import crossdomain +# pylint has trouble with Flask's server client response objects, thinks they are tuples +# pylint: disable=no-member server = Flask(__name__) diff --git a/tests/pylorax/test_server.py b/tests/pylorax/test_server.py index 1179312e..b199afb8 100644 --- a/tests/pylorax/test_server.py +++ b/tests/pylorax/test_server.py @@ -36,6 +36,9 @@ from pylorax.api.server import server, GitLock from pylorax.api.yumbase import YumLock from pylorax.sysutils import joinpaths +# pylint has trouble with Flask's server client response objects, thinks they are tuples +# pylint: disable=no-member + # Used for testing UTF-8 input support UTF8_TEST_STRING = "I ο½—π’Šll πŸ‰ΞΏπ˜ π› ο½π”°κœ± π˜π’‰πΈπšœ".decode("utf-8")