flake8: fix E111 style
authorSean Farley <sean@farley.io>
Tue, 30 Aug 2016 15:18:43 -0700
changeset 2006 c817efec4afc
parent 2005 093af1c7d58d
child 2007 aa3b6cfdf493
flake8: fix E111 style OFF BY ONE ERRORS ARE THE WORST
hgext3rd/topic/destination.py
setup.cfg
--- a/hgext3rd/topic/destination.py	Tue Aug 30 15:15:05 2016 -0700
+++ b/hgext3rd/topic/destination.py	Tue Aug 30 15:18:43 2016 -0700
@@ -15,11 +15,11 @@
                      onheadcheck=True, destspace=None):
     # XXX: take destspace into account
     if sourceset is None:
-       p1 = repo['.']
+        p1 = repo['.']
     else:
         # XXX: using only the max here is flacky. That code should eventually
         # be updated to take care of the whole sourceset.
-       p1 = repo[max(sourceset)]
+        p1 = repo[max(sourceset)]
     top = p1.topic()
     if top:
         revs = repo.revs('topic(%s) - obsolete()', top)
--- a/setup.cfg	Tue Aug 30 15:15:05 2016 -0700
+++ b/setup.cfg	Tue Aug 30 15:18:43 2016 -0700
@@ -1,2 +1,2 @@
 [flake8]
-ignore = E261, E266, E302, E129, E731, E124, E713, E301, E501, E111, E123, W503
+ignore = E261, E266, E302, E129, E731, E124, E713, E301, E501, E123, W503