changeset 2102:c817efec4afc

flake8: fix E111 style OFF BY ONE ERRORS ARE THE WORST
author Sean Farley <sean@farley.io>
date Tue, 30 Aug 2016 15:18:43 -0700
parents 093af1c7d58d
children aa3b6cfdf493
files hgext3rd/topic/destination.py setup.cfg
diffstat 2 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/hgext3rd/topic/destination.py
+++ b/hgext3rd/topic/destination.py
@@ -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
+++ b/setup.cfg
@@ -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