From 8953e5b9ce00958b23a24e914467e34efcae8ba1 Mon Sep 17 00:00:00 2001 From: T8y8 Date: Thu, 5 Jan 2017 16:02:32 -0800 Subject: [PATCH] Add Py36, update travis to use pycodestyle --- .travis.yml | 7 ++++--- test/bvt.py | 1 + 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index 32f39d0..454322d 100644 --- a/.travis.yml +++ b/.travis.yml @@ -6,17 +6,18 @@ python: - "3.3" - "3.4" - "3.5" + - "3.6" - "pypy" # command to install dependencies install: - "pip install -e ." - - "pip install pep8" + - "pip install pycodestyle" # command to run tests script: # Tests - python setup.py test - # pep8 - - pep8 . + # pycodestyle + - pycodestyle tableaudocumentapi test samples # Examples - (cd "samples/replicate-workbook" && python replicate_workbook.py) - (cd "samples/list-tds-info" && python list_tds_info.py) diff --git a/test/bvt.py b/test/bvt.py index e09ec55..8698f7f 100644 --- a/test/bvt.py +++ b/test/bvt.py @@ -393,5 +393,6 @@ def test_82_workbook_throws_exception(self): with self.assertRaises(TableauVersionNotSupportedException): wb = Workbook(TABLEAU_82_TWB) + if __name__ == '__main__': unittest.main()