From patchwork Wed Aug 31 03:58:12 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [06,of,12,topics] flake8: fix E222 style From: Sean Farley X-Patchwork-Id: 16502 Message-Id: To: mercurial-devel@mercurial-scm.org Cc: sean@farley.io Date: Tue, 30 Aug 2016 20:58:12 -0700 # HG changeset patch # User Sean Farley # Date 1472595305 25200 # Tue Aug 30 15:15:05 2016 -0700 # Node ID e32ae663d1dcbcd21bcce74e58ddfdf8dcc7368c # Parent 752a62b50ba31b768c52c6b423cd1a36d0c6eae2 # EXP-Topic flake8 flake8: fix E222 style 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