Commit Graph

4 Commits

Author SHA1 Message Date
Al Bailey 88b1d3b5c6 Update zuul jobs from python2 to python3
- removed the old and unused devstack job.
 - needed to update pylint to python3
 - needed to enable bindep to install the packages
required for installing mysqlclient

No test plan is provided, because the purpose of this
change is to determine if zuul is broken for this repo,
and then fix it.

Story: 2010531
Task: 47313

Signed-off-by: Al Bailey <al.bailey@windriver.com>
Change-Id: I6655792d692644f2c6320b0ef1d66283e17d7bb3
2023-02-07 20:20:57 +00:00
Bernardo Decco 43ca8bc29c Re-enable important py3k checks for ha
Re-enabling some of the disabled tox warnings present on
the pylint.rc file

Re-enabling:

print-statement (E1601)

Test Plan: Sanity test run on AIO-SX:

PASS: test_system_health_pre_session[pods]
PASS: test_system_health_pre_session[alarms]
PASS: test_system_health_pre_session[system_apps]
PASS: test_wr_analytics[deploy_and_remove]
PASS: test_horizon_host_inventory_display
PASS: test_lock_unlock_host[controller]
PASS: test_pod_to_pod_connection
PASS: test_pod_to_service_connection
PASS: test_host_to_service_connection

Story: 2006796
Task: 43434
Signed-off-by: Bernardo Decco <bernardo.deccodesiqueira@windriver.com>
Change-Id: I4b8b1dcec40d1255edccaa8873af558c382a4f67
2021-10-28 17:10:41 -03:00
Bernardo Decco acd187ffdb Add pylint py3 portability checks for the ha repo
A lot of work has gone into making sure that StarlingX is python3
compatible. To ensure future compatibility, enable the python3
portability checks. Disable the checks that are raising errors.
Another set of commits will address the offending code.

Story: 2006796
Task: 43269
Signed-off-by: Bernardo Decco <bernardo.deccodesiqueira@windriver.com>
Change-Id: I48d05d5bd8a4820fb02a47023af06411b62fa0a8
2021-09-13 14:38:49 -03:00
Al Bailey 6c5b844111 Adding pylint target to stx-ha
The voting linters job will now run pylint on the python code.
All failing pylint codes are currently suppressed.
Further tasks will be created to cleanup those failing tests.

The only code changes were comments which perform inline suppression
of pylint warnings. Those lines are not meant to be fixed since those
imports cannot succeed in a tox env.

Story: 2002803
Task: 26883
Change-Id: I4a25599fb60f58b168dbec001d3f2d24e0e2c235
Signed-off-by: Al Bailey <Al.Bailey@windriver.com>
2018-10-04 09:20:06 -05:00