Patchwork [08,of,12,topics] flake8: fix E111 style

login
register
mail settings
Submitter Sean Farley
Date Aug. 31, 2016, 3:58 a.m.
Message ID <fbceb43849d91459925d.1472615894@laptop.local>
Download mbox | patch
Permalink /patch/16509/
State Accepted
Headers show

Comments

Sean Farley - Aug. 31, 2016, 3:58 a.m.
# HG changeset patch
# User Sean Farley <sean@farley.io>
# Date 1472595523 25200
#      Tue Aug 30 15:18:43 2016 -0700
# Node ID fbceb43849d91459925dabb8c5f1683744ec320b
# Parent  8eb5de0920f5dce2fbf4d511b73ea6bcc7d6fe8e
# EXP-Topic flake8
flake8: fix E111 style

OFF BY ONE ERRORS ARE THE WORST

Patch

diff --git a/hgext3rd/topic/destination.py b/hgext3rd/topic/destination.py
--- a/hgext3rd/topic/destination.py
+++ b/hgext3rd/topic/destination.py
@@ -13,15 +13,15 @@  from .evolvebits import builddependencie
 
 def _destmergebranch(orig, repo, action='merge', sourceset=None,
                      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)
         deps, rdeps = builddependencies(repo, revs)
         heads = [r for r in revs if not rdeps[r]]
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, E713, E301, E501, E111
+ignore = E261, E266, E302, E129, E731, E124, E713, E301, E501