changeset 2006: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	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