libcloud-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From to...@apache.org
Subject [3/4] git commit: Remove Pep8Command, we now use flake8 + tox for this.
Date Thu, 21 Nov 2013 16:34:04 GMT
Remove Pep8Command, we now use flake8 + tox for this.


Project: http://git-wip-us.apache.org/repos/asf/libcloud/repo
Commit: http://git-wip-us.apache.org/repos/asf/libcloud/commit/f51f1cae
Tree: http://git-wip-us.apache.org/repos/asf/libcloud/tree/f51f1cae
Diff: http://git-wip-us.apache.org/repos/asf/libcloud/diff/f51f1cae

Branch: refs/heads/trunk
Commit: f51f1caea9e523de8af81b67b244012b0be411c1
Parents: 5d18f3a
Author: Tomaz Muraus <tomaz@apache.org>
Authored: Thu Nov 21 17:28:13 2013 +0100
Committer: Tomaz Muraus <tomaz@apache.org>
Committed: Thu Nov 21 17:28:13 2013 +0100

----------------------------------------------------------------------
 setup.py | 26 --------------------------
 1 file changed, 26 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/libcloud/blob/f51f1cae/setup.py
----------------------------------------------------------------------
diff --git a/setup.py b/setup.py
index 6a6fab6..9693de6 100644
--- a/setup.py
+++ b/setup.py
@@ -168,31 +168,6 @@ class TestCommand(Command):
         return not res.wasSuccessful()
 
 
-class Pep8Command(Command):
-    description = "run pep8 script"
-    user_options = []
-
-    def initialize_options(self):
-        pass
-
-    def finalize_options(self):
-        pass
-
-    def run(self):
-        try:
-            import pep8
-            pep8
-        except ImportError:
-            print ('Missing "pep8" library. You can install it using pip: '
-                   'pip install pep8')
-            sys.exit(1)
-
-        cwd = os.getcwd()
-        retcode = call(('pep8 %s/libcloud/' %
-                       (cwd)).split(' '))
-        sys.exit(retcode)
-
-
 class ApiDocsCommand(Command):
     description = "generate API documentation"
     user_options = []
@@ -260,7 +235,6 @@ setup(
     url='http://libcloud.apache.org/',
     cmdclass={
         'test': TestCommand,
-        'pep8': Pep8Command,
         'apidocs': ApiDocsCommand,
         'coverage': CoverageCommand
     },


Mime
View raw message