Add pylint support

This update adds pylint to tox and zuul for stx-updates and resolves
most warnings and errors, with some disabled for future resolution.

Depends-On: I44b26d24788907bac0730a952d70ed4bafb87d90
Change-Id: Ic853202e4793bf89d687b50cbd740d364db85189
Story: 2003371
Task: 24832
Signed-off-by: Don Penney <don.penney@windriver.com>
This commit is contained in:
Don Penney
2018-08-23 17:20:28 -05:00
committed by Scott Little
parent 38a86ab5e4
commit e862aae48a
2 changed files with 3 additions and 7 deletions

View File

@@ -13,8 +13,6 @@ PLATFORM_SIMPLEX_FLAG=${PLATFORM_CONF_PATH}/simplex
VOLATILE_PATH=/var/run
PLATFORM_PATH=/opt/platform
CONFIG_PATH=${PLATFORM_PATH}/config/${SW_VERSION}
# TODO(mpeters) remove the PACKSTACK_PATH
PACKSTACK_PATH=${PLATFORM_PATH}/packstack/${SW_VERSION}
PUPPET_PATH=${PLATFORM_PATH}/puppet/${SW_VERSION}
CGCS_PATH=/opt/cgcs

View File

@@ -154,17 +154,15 @@ def _load():
_load()
''' Keep the following path and flag declarations in sync with the tsconfig
bash script.
'''
# Keep the following path and flag declarations in sync with the tsconfig
# bash script.
#
# Platform configuration paths and files
VOLATILE_PATH = "/var/run"
PLATFORM_PATH = "/opt/platform"
CONFIG_PATH = PLATFORM_PATH + "/config/" + SW_VERSION + "/"
# TODO(mpeters) remove the PACKSTACK_PATH
PACKSTACK_PATH = PLATFORM_PATH + "/packstack/" + SW_VERSION + "/"
PUPPET_PATH = PLATFORM_PATH + "/puppet/" + SW_VERSION + "/"
CGCS_PATH = "/opt/cgcs"
KEYRING_PATH = PLATFORM_PATH + "/.keyring/" + SW_VERSION