Commit Graph

8 Commits

Author SHA1 Message Date
Felipe Reyes 89f6ef2538 Tox-4 compatibility fixes
Change-Id: Ib7c1de862a518e13de943b24170cd528a330cab8
2023-10-26 09:12:33 -03:00
Andreas Jaeger 77dfcdd291 Doc cleanup, use openstackdocstheme
Switch to "modern" way of docs building in OpenStack:
* Use sphinx-build
* Use openstackdocstheme instead of old oslosphinx
* Adjust settings for openstackdocstheme
* Fix build errors:
  - There's no priorities folder in this repo,
    so remove non-existing links.
  - There's no backlog file, remove link.
  - remove links in specs that don't exist
  - fix RST link formatting
  - Fix RST errors

Change-Id: I0d1d1c866957e7dbd5d4e394b0368a0a5250b00b
2020-02-23 14:53:22 +01:00
Camille Rodriguez 891a56d519 Avoid pollution and false positives with tox.ini
- Added 'Alternatives' section in lxd-to-nova-lxd-rename.rst too avoid
pep8 error, and fixed other pep8 mistakes
- changing testenv to python3
- removing sitepackages in tox.ini to avoid test env pollution
- skip_missing_interpreters in tox.ini set to False to avoid false
positives by skipping missing interpreters.

Change-Id: Id746fff4bfe7b0dd3ccb2803793f78a194d81355
2019-08-29 09:52:21 -04:00
Doug Hellmann 275721c90c fix tox python3 overrides
We want to default to running all tox environments under python 3, so
set the basepython value in each environment.

We do not want to specify a minor version number, because we do not
want to have to update the file every time we upgrade python.

We do not want to set the override once in testenv, because that
breaks the more specific versions used in default environments like
py35 and py36.

Change-Id: I463ce76be862ef15234e02a0761088a67af72265
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2018-11-02 14:23:39 +00:00
Ha Manh Dong 65fee4ceee Switch to use stestr for unit test
According to Openstack summit session [1],
stestr is maintained project to which all Openstack projects should migrate.
So we should switch to stestr.

[1] https://etherpad.openstack.org/p/YVR-python-pti

Change-Id: I4cd261ce5cc4ac7a26fb644eb43c2848f2c26f8b
2018-07-17 13:36:45 +07:00
gecong1973 fe4c4be5c5 Delete python bytecode file
This patch delete python bytecode including pyo
before every test run

Change-Id: I837d85a53e159b132da20a56d926c2158c204dec
2016-10-12 14:20:15 +08:00
James Page c761de149f Added first spec 2016-05-26 12:05:31 +01:00
James Page 532486201d Base 2016-05-26 11:24:00 +01:00