summaryrefslogtreecommitdiff
path: root/test/py.tornado
diff options
context:
space:
mode:
authorNobuaki Sukegawa <nsuke@apache.org>2016-02-28 11:28:19 +0900
committerNobuaki Sukegawa <nsuke@apache.org>2016-02-28 12:05:14 +0900
commitd479e23a1d408ab73e416f547003c4f7d9975081 (patch)
tree9e919c0f372fb01f8029fd06fbe1180b4f5d5bd5 /test/py.tornado
parent2c5ed27a25087f541312d35938056890c4784fc6 (diff)
downloadthrift-d479e23a1d408ab73e416f547003c4f7d9975081.tar.gz
THRIFT-3691 Run flake8 Python style check on Travis-CI
Client: Build (Python) Patch: Nobuaki Sukegawa This closes #907
Diffstat (limited to 'test/py.tornado')
-rw-r--r--test/py.tornado/setup.cfg3
-rwxr-xr-xtest/py.tornado/test_suite.py2
2 files changed, 4 insertions, 1 deletions
diff --git a/test/py.tornado/setup.cfg b/test/py.tornado/setup.cfg
new file mode 100644
index 000000000..ae587c4f4
--- /dev/null
+++ b/test/py.tornado/setup.cfg
@@ -0,0 +1,3 @@
+[flake8]
+ignore = E402
+max-line-length = 100
diff --git a/test/py.tornado/test_suite.py b/test/py.tornado/test_suite.py
index b9ce78181..32d1c2e57 100755
--- a/test/py.tornado/test_suite.py
+++ b/test/py.tornado/test_suite.py
@@ -44,7 +44,7 @@ from thrift.protocol import TBinaryProtocol
from thrift.transport.TTransport import TTransportException
from ThriftTest import ThriftTest
-from ThriftTest.ttypes import *
+from ThriftTest.ttypes import Xception, Xtruct
class TestHandler(object):