version=self.version))
-class MyOptionParser(optparse.OptionParser):
+class MyOptionParser(optparse.OptionParser): # pylint: disable=R0904
"""Derive the OptionParser class to override the format_epilog method"""
def format_epilog(self, formatter):
subst['debupstream'] = changelog.upstream_version
subst['debversion'] = changelog.full_version
try:
- version = pattern.format(**subst)
+ version = pattern.format(**subst) # pylint: disable=W0142
except KeyError as error:
key = error.args[0]
allowed_keys = ["{debupstream}", "{debversion}", "{git-commit}",