Commit Graph

17 Commits

Author SHA1 Message Date
Stephen Finucane 40f7c167d8 Add pre-commit
Change-Id: Ifdee3615f26b370cda531ae0cc736b8db67ed204
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
2024-01-25 16:18:36 +00:00
Stephen Finucane 0c048098bc tox: Random cleanups
Change-Id: Ib62f264e817d77ed6cda47daeaaa2994fc5d9f01
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
2024-01-25 16:16:42 +00:00
Andreas Jaeger 0b9cef46ec Update hacking for Python3
The repo is Python 3 now, so update hacking to version 2.0 which
supports Python 3.

blacklist:
W504 line break after binary operator

fix:
E117 over-indented

Change-Id: I5578956c5a3d496f16e41100c5a2f5e99b42f9a7
2020-03-27 21:02:40 +01:00
Andreas Jaeger 2f0bad48ba [ussuri][goal] Drop python 2.7 support and testing
OpenStack is dropping the py2.7 support in ussuri cycle.

Complete discussion & schedule can be found in
- http://lists.openstack.org/pipermail/openstack-discuss/2019-October/010142.html
- https://etherpad.openstack.org/p/drop-python2-support

Ussuri Communtiy-wide goal:
https://governance.openstack.org/tc/goals/selected/ussuri/drop-py27.html

Change-Id: Iadbea735f22cd8456a32f10fda598dc6a2983ec7
2020-02-04 20:45:20 +01:00
Zuul 369177dcab Merge "Revert "check-plugins job: convert the job to tox"" 2019-09-11 16:37:31 +00:00
Zuul 5d53a79ce4 Merge "Revert "check-plugins job: switch to python3"" 2019-09-11 13:49:47 +00:00
Dean Troyer 8a73ffa2bb Revert "check-plugins job: convert the job to tox"
This reverts commit 1aed3ce715.

Change-Id: Id983fddcf07a5a43da62b7529d531c2444404b22
2019-09-11 08:41:09 -05:00
Dean Troyer a110206709 Revert "check-plugins job: switch to python3"
This reverts commit 44f9cc01cd.

Change-Id: Ie9692634ae0bcc814fa345a8054a2e6e7685b6b3
2019-09-11 13:22:06 +00:00
Zuul 3a602282f4 Merge "check-plugins job: switch to python3" 2019-09-11 04:50:40 +00:00
Zuul 32ef09e8ad Merge "check-plugins job: convert the job to tox" 2019-09-11 04:50:39 +00:00
Akihiro Motoki 44f9cc01cd check-plugins job: switch to python3
Change-Id: Id598cb4ebc345d868423e8ad29965075048191a0
2019-07-31 16:35:17 +09:00
Akihiro Motoki 1aed3ce715 check-plugins job: convert the job to tox
Previously check-plugins job runs a shell script in a playbook.
This commit converts it into tox env so that developers can run
the check job locally.

This commit also improves the output of check_osc_commands.

Change-Id: I280975f20b9dd5080bafb599440ed1c992648986
2019-07-31 16:32:45 +09:00
Corey Bryant 3fe48e57be Add Python 3 Train unit tests
This is a mechanically generated patch to ensure unit testing is in place
for all of the Tested Runtimes for Train.

See the Train python3-updates goal document for details:
https://governance.openstack.org/tc/goals/train/python3-updates.html

Change-Id: I29cc4548f827d0ce5428731a31f8da5d52aae559
Story: #2005924
Task: #34232
2019-07-09 09:56:54 -04:00
Andreas Jaeger 67d59eb63b Switch to openstackdocstheme
Switch over to openstackdocstheme, update tox.ini and conf.py for this.

Remove unused extensions from conf.py.

Use separate doc/requirements file.

Build the docs using zuul.

Change-Id: Idbae35f3ba82d755e661e8f3a5ed02395682ed23
2019-05-29 15:23:32 +02:00
Doug Hellmann 915593032c 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: Ie123f2071e8ae3548490e640b07b32957bdb2204
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2018-09-26 18:45:19 -04:00
Vu Cong Tuan aebbade4fd Switch to stestr
According to Openstack summit session [1],
stestr is maintained project to which all Openstack projects should migrate.
Let's switch to stestr as other projects have already moved to it.

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

Change-Id: If740b4f0946c15a3bb3c3f405edbcee66e66c460
2018-07-10 16:25:53 +07:00
Steve Martinelli 49b361d517 Initial commit for the OSC metapackage repo.
Initial commit for OSC metapackage that includes all plugins.

Change-Id: I3db5eab671afada9b2cc026a4397ff9bdfdc0484
2017-01-06 14:39:22 -06:00