config/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
..
.eggs StarlingX open source release updates 2018-05-31 07:35:52 -07:00
contrib StarlingX open source release updates 2018-05-31 07:35:52 -07:00
doc/source Change openstack-dev to openstack-discuss 2018-12-04 23:37:31 -05:00
etc/sysinv Deprecate sysinv.openstack.common.lockutils file 2020-01-08 09:17:03 -06:00
scripts Move incorrectly located stand-alone scripts 2019-12-19 12:01:50 -06:00
sysinv Update sysinv flake8 to use python3 2020-01-16 17:21:12 -06:00
tools Fix: "__builtin__" issue for Python 2/3 compatible code 2018-12-19 10:21:57 +08:00
.coveragerc StarlingX open source release updates 2018-05-31 07:35:52 -07:00
.gitignore Update sysinv to not invoke ceph during unit testing 2018-10-02 13:19:43 -05:00
.stestr.conf Cleanup sysinv tox py27 warnings 2019-05-31 08:35:50 -05:00
babel.cfg StarlingX open source release updates 2018-05-31 07:35:52 -07:00
CONTRIBUTING.rst Update CONTRIBUTING.rst and add HACKING.rst 2019-09-27 09:00:29 -05:00
HACKING.rst Update CONTRIBUTING.rst and add HACKING.rst 2019-09-27 09:00:29 -05:00
LICENSE StarlingX open source release updates 2018-05-31 07:35:52 -07:00
MANIFEST.in StarlingX open source release updates 2018-05-31 07:35:52 -07:00
openstack-common.conf Deprecate sysinv.openstack.common.lockutils file 2020-01-08 09:17:03 -06:00
pylint.rc Adding pylint checking to the sysinv unit tests 2020-01-14 08:32:12 -06:00
README.rst StarlingX open source release updates 2018-05-31 07:35:52 -07:00
requirements.txt Deprecate the sysinv.openstack.common utils files 2019-12-04 10:58:39 -06:00
setup.cfg Create sysinv-utils for generating host-overrides 2019-11-20 10:54:39 -05:00
setup.py Add a zuul job for sysinv tox unittest 2018-08-13 16:34:06 +08:00
test-requirements.txt Update sysinv flake8 to use python3 2020-01-16 17:21:12 -06:00
tox.ini Update sysinv flake8 to use python3 2020-01-16 17:21:12 -06:00
upper-constraints.txt Update tox.ini files to use stein constraints 2019-06-25 14:45:54 -04:00

Placeholder to allow setup.py to work. Removing this requires modifying the setup.py manifest.