Merge "Update hacking version"

This commit is contained in:
Zuul 2019-02-20 05:56:31 +00:00 committed by Gerrit Code Review
commit bc2a1fb525
4 changed files with 7 additions and 7 deletions

View File

@ -1,4 +1,4 @@
oslo.serialization Style Commandments
======================================================
=====================================
Read the OpenStack Style Commandments https://docs.openstack.org/hacking/latest
Read the OpenStack Style Commandments https://docs.openstack.org/hacking/latest

View File

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

View File

@ -53,8 +53,8 @@ _nasty_type_tests = [inspect.ismodule, inspect.isclass, inspect.ismethod,
inspect.iscode, inspect.isbuiltin, inspect.isroutine,
inspect.isabstract]
_simple_types = ((six.text_type,) + six.integer_types
+ (type(None), bool, float))
_simple_types = ((six.text_type,) + six.integer_types +
(type(None), bool, float))
def to_primitive(value, convert_instances=False, convert_datetime=True,

View File

@ -1,7 +1,7 @@
# The order of packages is significant, because pip processes them in the order
# of appearance. Changing the order has an impact on the overall integration
# 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
ipaddress>=1.0.17;python_version<'3.3' # PSF
mock>=2.0.0 # BSD
netaddr>=0.7.18 # BSD