🔥 (analyzer) cleanup analyzer.py

This commit is contained in:
Lucas Bickel 2018-12-22 22:19:38 +01:00
parent cb0daddaf5
commit 201d3741d8

View file

@ -1,13 +1,10 @@
# TODO: use an abstract base class (ie. import from abc ...) once we have python >=3.3 that supports @staticmethod with @abstractmethod
class Analyzer: class Analyzer:
""" Abstract base class fpr all "analyzers". """ Abstract base class for all "analyzers".
""" """
@staticmethod @staticmethod
def analyze(filename, metadata): def analyze(filename, metadata):
raise NotImplementedError raise NotImplementedError
'''
class AnalyzerError(Error):
def __init__(self):
super.__init__(self)
'''