summaryrefslogtreecommitdiff
path: root/test/features
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/features
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/features')
-rw-r--r--test/features/container_limit.py2
-rw-r--r--test/features/setup.cfg2
-rw-r--r--test/features/string_limit.py2
-rw-r--r--test/features/theader_binary.py2
-rw-r--r--test/features/util.py2
5 files changed, 6 insertions, 4 deletions
diff --git a/test/features/container_limit.py b/test/features/container_limit.py
index beed0c5ec..a16e3641e 100644
--- a/test/features/container_limit.py
+++ b/test/features/container_limit.py
@@ -4,7 +4,7 @@ import argparse
import sys
from util import add_common_args, init_protocol
-from local_thrift import thrift
+from local_thrift import thrift # noqa
from thrift.Thrift import TMessageType, TType
diff --git a/test/features/setup.cfg b/test/features/setup.cfg
new file mode 100644
index 000000000..7da1f9608
--- /dev/null
+++ b/test/features/setup.cfg
@@ -0,0 +1,2 @@
+[flake8]
+max-line-length = 100
diff --git a/test/features/string_limit.py b/test/features/string_limit.py
index 3c68b3ea3..695d9652e 100644
--- a/test/features/string_limit.py
+++ b/test/features/string_limit.py
@@ -4,7 +4,7 @@ import argparse
import sys
from util import add_common_args, init_protocol
-from local_thrift import thrift
+from local_thrift import thrift # noqa
from thrift.Thrift import TMessageType, TType
diff --git a/test/features/theader_binary.py b/test/features/theader_binary.py
index 02e010b8b..451399aa7 100644
--- a/test/features/theader_binary.py
+++ b/test/features/theader_binary.py
@@ -5,7 +5,7 @@ import socket
import sys
from util import add_common_args
-from local_thrift import thrift
+from local_thrift import thrift # noqa
from thrift.Thrift import TMessageType, TType
from thrift.transport.TSocket import TSocket
from thrift.transport.TTransport import TBufferedTransport, TFramedTransport
diff --git a/test/features/util.py b/test/features/util.py
index e4997d0b7..3abbbbd9a 100644
--- a/test/features/util.py
+++ b/test/features/util.py
@@ -1,7 +1,7 @@
import argparse
import socket
-from local_thrift import thrift
+from local_thrift import thrift # noqa
from thrift.transport.TSocket import TSocket
from thrift.transport.TTransport import TBufferedTransport, TFramedTransport
from thrift.transport.THttpClient import THttpClient