old_contents: import abc
  
  
  class AbstractType(object):
      __metaclass__ = abc.ABCMeta
  
      @abc.abstractmethod
      def encode(cls, value):
          pass
  
      @abc.abstractmethod
      def decode(cls, data):
          pass
  
      @classmethod
      def repr(cls, value):
          return repr(value)
  
new_contents: import abc
  
  
  class AbstractType(object):
      __metaclass__ = abc.ABCMeta
  
      @abc.abstractmethod
      def encode(cls, value): # pylint: disable=no-self-argument
          pass
  
      @abc.abstractmethod
      def decode(cls, data): # pylint: disable=no-self-argument
          pass
  
      @classmethod
      def repr(cls, value):
          return repr(value)
  
subject: Add pylint hints to AbstractType because we cant mark a classmethod as abstract