From patchwork Wed Aug 31 03:58:18 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [12,of,12,topics] flake8: fix E124 style From: Sean Farley X-Patchwork-Id: 16511 Message-Id: To: mercurial-devel@mercurial-scm.org Cc: sean@farley.io Date: Tue, 30 Aug 2016 20:58:18 -0700 # HG changeset patch # User Sean Farley # Date 1472595848 25200 # Tue Aug 30 15:24:08 2016 -0700 # Node ID c0064f048058b35713d7262b578a7fa5e216f195 # Parent b579ff9e41931a26ded12b409925d0fa40d9b05d # EXP-Topic flake8 flake8: fix E124 style diff --git a/hgext3rd/topic/__init__.py b/hgext3rd/topic/__init__.py --- a/hgext3rd/topic/__init__.py +++ b/hgext3rd/topic/__init__.py @@ -42,28 +42,29 @@ from . import ( discovery, ) cmdtable = {} command = cmdutil.command(cmdtable) -colortable = {'topic.active': 'green', - 'topic.list.troubledcount': 'red', - 'topic.list.headcount.multiple': 'yellow', - 'topic.list.behindcount': 'cyan', - 'topic.list.behinderror': 'red', - 'topic.stack.index': 'yellow', - 'topic.stack.index.base': 'none dim', - 'topic.stack.desc.base': 'none dim', - 'topic.stack.state.base': 'dim', - 'topic.stack.state.clean': 'green', - 'topic.stack.index.current': 'cyan', # random pick - 'topic.stack.state.current': 'cyan bold', # random pick - 'topic.stack.desc.current': 'cyan', # random pick - 'topic.stack.state.unstable': 'red', - 'topic.stack.summary.behindcount': 'cyan', - 'topic.stack.summary.behinderror': 'red', - 'topic.stack.summary.headcount.multiple': 'yellow', - } +colortable = { + 'topic.active': 'green', + 'topic.list.troubledcount': 'red', + 'topic.list.headcount.multiple': 'yellow', + 'topic.list.behindcount': 'cyan', + 'topic.list.behinderror': 'red', + 'topic.stack.index': 'yellow', + 'topic.stack.index.base': 'none dim', + 'topic.stack.desc.base': 'none dim', + 'topic.stack.state.base': 'dim', + 'topic.stack.state.clean': 'green', + 'topic.stack.index.current': 'cyan', # random pick + 'topic.stack.state.current': 'cyan bold', # random pick + 'topic.stack.desc.current': 'cyan', # random pick + 'topic.stack.state.unstable': 'red', + 'topic.stack.summary.behindcount': 'cyan', + 'topic.stack.summary.behinderror': 'red', + 'topic.stack.summary.headcount.multiple': 'yellow', +} testedwith = '3.9' def _contexttopic(self): return self.extra().get(constants.extrakey, '') diff --git a/setup.cfg b/setup.cfg --- a/setup.cfg +++ b/setup.cfg @@ -1,2 +1,2 @@ [flake8] -ignore = E261, E266, E302, E129, E731, E124 +ignore = E261, E266, E302, E129, E731