Patchwork [06,of,12,topics] flake8: fix E222 style

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

Comments

Sean Farley - Aug. 31, 2016, 3:58 a.m.
# HG changeset patch
# User Sean Farley <sean@farley.io>
# Date 1472595305 25200
#      Tue Aug 30 15:15:05 2016 -0700
# Node ID e32ae663d1dcbcd21bcce74e58ddfdf8dcc7368c
# Parent  752a62b50ba31b768c52c6b423cd1a36d0c6eae2
# EXP-Topic flake8
flake8: fix E222 style

Patch

diff --git a/hgext3rd/topic/destination.py b/hgext3rd/topic/destination.py
--- a/hgext3rd/topic/destination.py
+++ b/hgext3rd/topic/destination.py
@@ -17,11 +17,11 @@  def _destmergebranch(orig, repo, action=
     if sourceset is None:
        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, E123, E222
+ignore = E261, E266, E302, E129, E731, E124, E713, E301, E501, E111, E123