From 55a54f736a9406e0f0c1400ba1af6a7167708f5d Mon Sep 17 00:00:00 2001 From: Steve Martinelli Date: Mon, 12 Jan 2015 23:45:12 -0500 Subject: upgrade hacking to 0.10.0 Change-Id: If646a99435c9f5e1d227ee30fc25909f6fcdaae6 --- pycadf/cadftype.py | 3 ++- test-requirements.txt | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/pycadf/cadftype.py b/pycadf/cadftype.py index 87de7da..40950c1 100644 --- a/pycadf/cadftype.py +++ b/pycadf/cadftype.py @@ -70,7 +70,8 @@ class ValidatorDescriptor(object): raise ValueError('%s must not be None.' % self.name) -class CADFAbstractType(six.with_metaclass(abc.ABCMeta, object)): +@six.add_metaclass(abc.ABCMeta) +class CADFAbstractType(object): """The abstract base class for all CADF (complex) data types (classes).""" @abc.abstractmethod diff --git a/test-requirements.txt b/test-requirements.txt index 3357df5..b512f0f 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -2,7 +2,7 @@ # of appearance. Changing the order has an impact on the overall integration # process, which may cause wedges in the gate later. # Hacking already pins down pep8, pyflakes and flake8 -hacking>=0.9.2,<0.10 +hacking>=0.10.0,<0.11 coverage>=3.6 discover -- cgit v1.2.1