Repository: cassandra-dtest
Updated Branches:
  refs/heads/master e67ef2b80 -> 0d468af9e


Replace pep8 with pycodestyle

patch by Michael Kjellman; reviewed by Jay Zhuang for CASSANDRA-14020


Project: http://git-wip-us.apache.org/repos/asf/cassandra-dtest/repo
Commit: http://git-wip-us.apache.org/repos/asf/cassandra-dtest/commit/0d468af9
Tree: http://git-wip-us.apache.org/repos/asf/cassandra-dtest/tree/0d468af9
Diff: http://git-wip-us.apache.org/repos/asf/cassandra-dtest/diff/0d468af9

Branch: refs/heads/master
Commit: 0d468af9e2617a4a9083e1e527e3a1731e613fcc
Parents: e67ef2b
Author: Michael Kjellman <kjell...@apple.com>
Authored: Tue Nov 14 19:25:11 2017 -0800
Committer: Jason Brown <jasedbr...@gmail.com>
Committed: Mon Jan 15 05:18:46 2018 -0800

----------------------------------------------------------------------
 cqlsh_tests/cqlsh_tests.py | 8 ++++----
 requirements.txt           | 2 +-
 2 files changed, 5 insertions(+), 5 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cassandra-dtest/blob/0d468af9/cqlsh_tests/cqlsh_tests.py
----------------------------------------------------------------------
diff --git a/cqlsh_tests/cqlsh_tests.py b/cqlsh_tests/cqlsh_tests.py
index 8146ace..bf2b90c 100644
--- a/cqlsh_tests/cqlsh_tests.py
+++ b/cqlsh_tests/cqlsh_tests.py
@@ -40,11 +40,11 @@ class TestCqlsh(Tester):
         super(TestCqlsh, self).tearDown()
 
     @since('2.1.9')
-    def test_pep8_compliance(self):
+    def test_pycodestyle_compliance(self):
         """
         @jira_ticket CASSANDRA-10066
-        Checks that cqlsh is compliant with pep8 with the following command:
-        pep8 --ignore E501,E402,E731 pylib/cqlshlib/*.py bin/cqlsh.py
+        Checks that cqlsh is compliant with pycodestyle (formally known as 
pep8) with the following command:
+        pycodestyle --ignore E501,E402,E731 pylib/cqlshlib/*.py bin/cqlsh.py
         """
         cluster = self.cluster
 
@@ -57,7 +57,7 @@ class TestCqlsh(Tester):
         cqlshlib_paths = os.listdir(cqlshlib_path)
         cqlshlib_paths = [os.path.join(cqlshlib_path, x) for x in 
cqlshlib_paths if '.py' in x and '.pyc' not in x]
 
-        cmds = ['pep8', '--ignore', 'E501,E402,E731', cqlsh_path] + 
cqlshlib_paths
+        cmds = ['pycodestyle', '--ignore', 'E501,E402,E731', cqlsh_path] + 
cqlshlib_paths
 
         debug(cmds)
 

http://git-wip-us.apache.org/repos/asf/cassandra-dtest/blob/0d468af9/requirements.txt
----------------------------------------------------------------------
diff --git a/requirements.txt b/requirements.txt
index 964ef3c..bf46e38 100644
--- a/requirements.txt
+++ b/requirements.txt
@@ -15,7 +15,7 @@ mock
 nose
 nose-test-select
 parse
-pep8
+pycodestyle
 psutil
 pycassa
 thrift==0.9.3


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org
For additional commands, e-mail: commits-h...@cassandra.apache.org

Reply via email to