All classes should explicitly inherit object class
To avoid pylint errors six.with_metaclass was substituted with six.add_metaclass and explicit inheritance of object class. Change-Id: I516f111a9ba1af414b1a5daefad44b743af0412f
This commit is contained in:
@@ -22,7 +22,8 @@ import abc
|
||||
import six
|
||||
|
||||
|
||||
class JobBoard(six.with_metaclass(abc.ABCMeta)):
|
||||
@six.add_metaclass(abc.ABCMeta)
|
||||
class JobBoard(object):
|
||||
"""A jobboard is an abstract representation of a place where jobs
|
||||
can be posted, reposted, claimed and transferred. There can be multiple
|
||||
implementations of this job board, depending on the desired semantics and
|
||||
|
||||
Reference in New Issue
Block a user