Patchwork [10,of,12,topics] flake8: fix E301 style

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

Comments

Sean Farley - Aug. 31, 2016, 3:58 a.m.
# HG changeset patch
# User Sean Farley <sean@farley.io>
# Date 1472595744 25200
#      Tue Aug 30 15:22:24 2016 -0700
# Node ID b4d2daf39a825e02d0afcd62471b1e6c2d6b2b84
# Parent  4f3c71461d1b799bb26a4409d22eb6a458cb9d44
# EXP-Topic flake8
flake8: fix E301 style

Patch

diff --git a/hgext3rd/topic/__init__.py b/hgext3rd/topic/__init__.py
--- a/hgext3rd/topic/__init__.py
+++ b/hgext3rd/topic/__init__.py
@@ -116,10 +116,11 @@  def uisetup(ui):
 
 def reposetup(ui, repo):
     orig = repo.__class__
     if not isinstance(repo, localrepo.localrepository):
         return # this can be a peer in the ssh case (puzzling)
+
     class topicrepo(repo.__class__):
 
         def _restrictcapabilities(self, caps):
             caps = super(topicrepo, self)._restrictcapabilities(caps)
             caps.add('topics')
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
+ignore = E261, E266, E302, E129, E731, E124, E713