Adds py3 and removes py27 from tox environment
Fixes testcases that were failing for py38 environment.
Depends-on: https://review.opendev.org/#/c/738168/
Change-Id: I1a5f88c06808449e906d9b8ad43d690136737800
The new version enables a lot of standard flake8 checks, so a few
fixes are required. W503 is disabled as it conflicts with W504
and the latter seems to be preferred nowadays.
Also excluding C901 and E731 that should be fixed in different
patches as they require code changes.
Change-Id: I8decccc4925f86e0b979b47e2920d6a782d991d7
The new name exported is TOX_CONSTRAINTS_FILE, as set by
https://review.opendev.org/#/c/657886/ and we should no
longer link to git.openstack.org directly but use the releases.o.org
redirect for determining the proper location of upper constraints.txt
Change-Id: I8181b94bdcbdc65127e356bf2617ba47b63bd390
reload() is an undefined function in python 3.x. In order
to make the code python 3.x compatible we need to use a
python 3.x compatible way of reloading a module. Luckily this
project already depends on six so we can use six.moves
to make the transition easier.
Change-Id: I58a21e5ffe6a2f968f1d1171213f4c711b5f5e62
In I565cd2593982a1b5c8c43cf394301c56e24b9b29 a half conversion
was performed to switch to stestr, but the dependency information
was not actually updated. Since ostestr is just a wrapper around
stestr, we don't need testrepository anymore. Also since we're
now calling stestr directly we can stop depending on the ostestr
wrapper. Also move hacking dependency into the pep8 tox environment
as it isn't needed for tests
Change-Id: Ia60c018b8691fd175468bdad81e604cbbc0e1b74
Removed 'cover' target from tox.ini as there exists a
separate coverage job in Zuul gates. Also added the new
authors. Changes in brief:
- Add support to manage BIOS settings for Gen9 and Gen10
- Redfish: Add 'delete\_raid\_configuration' API
- Add support for retrieving system POST state
- Add NMI (Non Maskable Interrupt) support for Gen9 and Gen10
- Fixes `pysnmp_mibs` location issue from search path
Change-Id: I72eafd29e5bb5cda3f0ea2dc600e989724380327
We now have a new Jenkins check job (code-coverage) running as
part of any proliantutils patch submitted upstream; and the dir
which is hosted as part of the coverage-job results is 'cover',
and not 'htmlcov' which we use to place the html output of the
code coverage results. As part of 'cover' dir we place the html
results in which the coverage takes into account the unit test
files also. Ideally code coverage should include only the
source files.
This patch addresses this concern by not using the htmlcov dir
any more and will use the cover dir only to host the actual
coverage results (i.e. devoid of unit test files).
Change-Id: I7cba8d4f0f2b9231b5f04b93b8a012889dd04c10
Coverage measurement will be helpful to gauge the effectiveness
of tests and maintain the quality of the code. Also changing
.gitignore to ignore the cover directory and .coverage
directories.
Change-Id: I184210af2d2e677b7cc2fe0c6561334ebc444fad
This commit switches the tox command to use ostestr instead of
calling testr through setup.py. This is inline with the all the
other OpenStack projects. It also removes requirements.txt from
tox.ini deps as that is redundant, as per:
http://lists.openstack.org/pipermail/openstack-dev/2015-July/069663.html
Change-Id: I8133d233f0fc0e1da2677d43d65056b9b070f867
This commit fixes the gate failures by following changes:
* Removes custom pypi mirror in tox.ini
* Changes oslo.utils to oslo_utils
* Changes oslo.concurrency to oslo_concurrency
Change-Id: Iaf3fa7a76aeb72323df40a7317c23c85cb5d920e