Commit 88a621e5 authored by Michal Čihař's avatar Michal Čihař

Make it clear this class is abstract

Signed-off-by: default avatarMichal Čihař <michal@cihar.com>
parent 928afa08
......@@ -204,7 +204,7 @@ class BaseFormatCheck(TargetCheck):
return False
def is_position_based(self, string):
return True
raise NotImplementedError()
def check_single(self, source, target, unit, cache_slot):
'''
......@@ -251,6 +251,9 @@ class CFormatCheck(BaseFormatCheck):
flag = 'c-format'
regexp = C_PRINTF_MATCH
def is_position_based(self, string):
return True
class PythonBraceFormatCheck(BaseFormatCheck):
'''
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment