config/sysinv/sysinv/sysinv/sysinv
Al Bailey eda1dc8de4 Update sysinv flake8 to use python3
Running flake8 in python3 exposes bugs that will
impact the conversion to python3.

This also adjusts the unit tests to run py36
rather than py35.

Some of the notable issues are:
 - cmp operator has been deprecated
 - file operator has been deprecated
    (replaced by call to open)

The behaviour in python2 has not changed.

For python3 unit tests should be added for:
 -  sysinv/agent/lldp/plugin.py  (Key)
sort in python3 expects a different method (__lt__)

 -  sysinv/conductor/manager.py (evaluate_app_reapply)
The contents from file open when passed to the md5 routine
should fail unless opened with utf-8 encoding
ie:
TypeError: Unicode-objects must be encoded before hashing

Change-Id: Ifcec7d5539cba2350649f56057db0f5e78ef279d
Story: 2007082
Task: 38130
Signed-off-by: Al Bailey <Al.Bailey@windriver.com>
2020-01-16 17:21:12 -06:00
..
agent Update sysinv flake8 to use python3 2020-01-16 17:21:12 -06:00
api Update sysinv flake8 to use python3 2020-01-16 17:21:12 -06:00
cmd Move incorrectly located stand-alone scripts 2019-12-19 12:01:50 -06:00
common Update sysinv flake8 to use python3 2020-01-16 17:21:12 -06:00
conductor Update sysinv flake8 to use python3 2020-01-16 17:21:12 -06:00
db Remove sqlalchemy-migrate 0.7.3 patching 2020-01-03 09:39:20 -06:00
helm Elastic: lower elasticsearch curator limits. 2020-01-08 14:44:45 -05:00
objects Merge "Hugepage percent allocation." 2019-12-17 17:56:39 +00:00
openstack Update sysinv flake8 to use python3 2020-01-16 17:21:12 -06:00
puppet Merge "Revert "configure kubernetes to use containerd as CRI"" 2020-01-14 21:27:25 +00:00
tests Merge "Add unit tests for network api" 2020-01-16 18:45:42 +00:00
__init__.py StarlingX open source release updates 2018-05-31 07:35:52 -07:00
_i18n.py Deprecate sysinv.openstack.common.gettextutils 2019-11-04 10:04:20 -06:00
netconf.py StarlingX open source release updates 2018-05-31 07:35:52 -07:00
sanity_coverage.py Sysinv tox updates. Prepare for bandit reports and test reports 2018-06-29 13:25:09 -04:00
version.py StarlingX open source release updates 2018-05-31 07:35:52 -07:00