Commit Graph

7 Commits

Author SHA1 Message Date
zhangboye 86b9624f35 Fix hacking min version to 3.0.1
Change-Id: Ia2a2769bc1d832535cd91d6408ca32d37a83aa51
2020-05-22 10:39:53 +08:00
Andreas Jaeger 5f8e26055d Update hacking for Python3
The repo is Python 3 now, so update hacking to version 3.0 which
supports Python 3.

Fix problems found by updated hacking version.

Change-Id: I784baf9df85d2be34a8d0a024d439f34faa32e07
2020-03-31 06:50:38 +00:00
Vu Cong Tuan a25b4367b5 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: I8f4fb6c486641a878950e39771834c37fdde7487
2018-10-24 09:14:41 +07:00
Nguyen Hai 36739ca41b Follow the new PTI for document build
REF:
https://governance.openstack.org/tc/reference/project-testing-interface.html
http://lists.openstack.org/pipermail/openstack-dev/2017-December/125710.html
http://lists.openstack.org/pipermail/openstack-dev/2018-March/128594.html

Change-Id: Icc65afd5f6c0e22147b179c16d6a4fa5f47954ce
2018-05-31 06:24:42 +00:00
Stephen Finucane 35f2005c2c trivial: Resolve Python 3 issues
Resolve the following exception:

  AttributeError: 'str' object has no attribute 'decode'

This wasn't caught in the gate because that still uses Python 2.7. This
is not the case in other environments (Fedora 27).

Change-Id: I6b462f19432c4cf9948cddcc095d9d5a85feeb4b
2018-02-01 17:06:38 +00:00
Matt Riedemann ad4c1c5fe7 Update requirements to fix pbr 2.0.0 fail
nova-specs doesn't sync requirements updates from the
global requirements repo and doesn't have the correct
requiremnts ranges for hacking which is pulling in
pbr 2.0.0 which breaks with warnerrors=True (since that
was removed in 2.0.0).

This syncs up the requirements with the latest from
the requirements repo and updates the hacking versions.

Change-Id: I8db1038693c5047ebffd0065055efc5ea211b106
Related-Bug: #1668848
2017-03-01 17:24:44 -05:00
Andrew Laski b4d6cec637 Fix pep8 violations in tests
Some minor updates to the testing file so that it would pass a pep8
checker.  Also adds a pep8 tox target to test them :)

Change-Id: I5c704a1b5a1b5f8b6d80a8f538b56befbe656099
2015-05-11 11:57:08 -04:00