diff options
author | 2016-05-26 14:30:24 +0800 | |
---|---|---|
committer | 2016-05-26 15:22:48 +0800 | |
commit | 2533bd8033e3ed1005542ae63abd4f5987c474fe (patch) | |
tree | 2f65575bfe6214b5684a6706faf9c5a13ae75e3f /utils/test/result_collection_api/tornado_swagger_ui/setup.py | |
parent | 4aa264aa97b81f2b40434da55745b4ade4a8a2ab (diff) |
eliminate flake8 violation in testAPI except dashboard dir
JIRA: FUNCTEST-262
Change-Id: Ib77bb080111392b8e3248c5e6152f55c12b8c67c
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
Diffstat (limited to 'utils/test/result_collection_api/tornado_swagger_ui/setup.py')
-rw-r--r-- | utils/test/result_collection_api/tornado_swagger_ui/setup.py | 25 |
1 files changed, 12 insertions, 13 deletions
diff --git a/utils/test/result_collection_api/tornado_swagger_ui/setup.py b/utils/test/result_collection_api/tornado_swagger_ui/setup.py index 97655917c..57dc48a9a 100644 --- a/utils/test/result_collection_api/tornado_swagger_ui/setup.py +++ b/utils/test/result_collection_api/tornado_swagger_ui/setup.py @@ -3,8 +3,8 @@ try: except ImportError: from distutils.core import setup -with open('README') as file: - long_description = file.read() +with open('README') as f: + long_description = f.read() setup(name='tornado-swagger', version='1.0', @@ -12,20 +12,19 @@ setup(name='tornado-swagger', zip_safe=False, packages=['tornado_swagger'], package_data={ - 'tornado_swagger': [ - 'static/*.*', - 'static/css/*.*', - 'static/images/*.*', - 'static/lib/*.*', - 'static/lib/shred/*.*', - ] + 'tornado_swagger': [ + 'static/*.*', + 'static/css/*.*', + 'static/images/*.*', + 'static/lib/*.*', + 'static/lib/shred/*.*' + ] }, description='Extract swagger specs from your tornado project', author='Serena Feng', license='MIT', long_description=long_description, install_requires=[ - 'tornado>=3.1', - 'epydoc>=0.3.1' - ], -) + 'tornado>=3.1', + 'epydoc>=0.3.1' + ]) |