# HG changeset patch
# User Sean Farley <s...@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

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
_______________________________________________
Mercurial-devel mailing list
Mercurial-devel@mercurial-scm.org
https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel

Reply via email to