Make sure base class method arguments match
This commit is contained in:
@@ -1,3 +1,3 @@
|
||||
class BackendBase(object):
|
||||
def execute(input_filename, language=None): # NOQA
|
||||
def execute(self, input_filename, language=None): # NOQA
|
||||
raise NotImplementedError
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
class BackendBase(object):
|
||||
def check_word(word):
|
||||
raise NotImplemented
|
||||
def check_word(self, word):
|
||||
raise NotImplementedError
|
||||
|
||||
Reference in New Issue
Block a user