From: Benjamin Drung Date: Tue, 11 Feb 2014 16:24:34 +0000 (+0100) Subject: gentoo_build: Disable some pylint warning. X-Git-Url: https://git.uhu-banane.de/?a=commitdiff_plain;h=d86dfc3566b17c2560785256d986fc0cee131334;p=profitbricks%2Fjenkins-build-scripts.git gentoo_build: Disable some pylint warning. --- diff --git a/gentoo_build b/gentoo_build index ccc0962..3ef2735 100755 --- a/gentoo_build +++ b/gentoo_build @@ -185,7 +185,7 @@ class Ebuild(object): 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): @@ -216,7 +216,7 @@ def version_substitution(logger, pattern, git_commit=None): 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}",