Update hacking version

Use latest release 1.1.0 and compatible changes w.r.t pep8

Change-Id: Iec0c74ab679d6046b12f1d16ecd5cb6dfa74b3ed
This commit is contained in:
ZhijunWei 2018-12-28 22:52:08 +08:00
parent b8bf7b2810
commit 3ea7c472cf
3 changed files with 6 additions and 8 deletions

View File

@ -7,9 +7,9 @@ Team and repository tags
.. Change things from this point on .. Change things from this point on
================== =================
oslo.concurrency oslo.concurrency
================== =================
.. image:: https://img.shields.io/pypi/v/oslo.concurrency.svg .. image:: https://img.shields.io/pypi/v/oslo.concurrency.svg
:target: https://pypi.org/project/oslo.concurrency/ :target: https://pypi.org/project/oslo.concurrency/

View File

@ -12,17 +12,15 @@
# License for the specific language governing permissions and limitations # License for the specific language governing permissions and limitations
# under the License. # under the License.
import copy
from oslo_concurrency import lockutils
__all__ = [ __all__ = [
'list_opts', 'list_opts',
] ]
import copy
from oslo_concurrency import lockutils
def list_opts(): def list_opts():
"""Return a list of oslo.config options available in the library. """Return a list of oslo.config options available in the library.

View File

@ -2,7 +2,7 @@
# of appearance. Changing the order has an impact on the overall integration # of appearance. Changing the order has an impact on the overall integration
# process, which may cause wedges in the gate later. # process, which may cause wedges in the gate later.
hacking!=0.13.0,<0.14,>=0.12.0 # Apache-2.0 hacking>=1.1.0,<1.2.0 # Apache-2.0
oslotest>=3.2.0 # Apache-2.0 oslotest>=3.2.0 # Apache-2.0
coverage!=4.4,>=4.0 # Apache-2.0 coverage!=4.4,>=4.0 # Apache-2.0
futures>=3.0.0;python_version=='2.7' or python_version=='2.6' # BSD futures>=3.0.0;python_version=='2.7' or python_version=='2.6' # BSD