[PATCH 12 of 12 topics] flake8: fix E124 style

Sean Farley sean at farley.io
Tue Aug 30 23:58:18 EDT 2016


# HG changeset patch
# User Sean Farley <sean at farley.io>
# 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


More information about the Mercurial-devel mailing list