From d86dfc3566b17c2560785256d986fc0cee131334 Mon Sep 17 00:00:00 2001 From: Benjamin Drung Date: Tue, 11 Feb 2014 17:24:34 +0100 Subject: [PATCH] gentoo_build: Disable some pylint warning. --- gentoo_build | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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}", -- 2.39.5