From 5354ef781cebc48d3c3f637608f628043f04d056 Mon Sep 17 00:00:00 2001 From: Max Shytikov Date: Mon, 21 Apr 2014 21:46:14 +0200 Subject: [PATCH] Formatted setup.py to make flake8 happy --- setup.py | 54 +++++++++++++++++++++++++++++------------------------- 1 file changed, 29 insertions(+), 25 deletions(-) diff --git a/setup.py b/setup.py index d9c195a..6fef312 100644 --- a/setup.py +++ b/setup.py @@ -13,42 +13,46 @@ class PyTest(TestCommand): self.test_suite = True def run_tests(self): - #import here, cause outside the eggs aren't loaded + # import here, cause outside the eggs aren't loaded import pytest errno = pytest.main(self.test_args) sys.exit(errno) -setup(name='vcrpy', - version='0.7.0', - description="Automatically mock your HTTP interactions to simplify and speed up testing", - author='Kevin McCarthy', - author_email='me@kevinmccarthy.org', - url='https://github.com/kevin1024/vcrpy', - packages = [ +setup( + name='vcrpy', + version='0.7.0', + description=( + "Automatically mock your HTTP interactions to simplify and " + "speed up testing" + ), + author='Kevin McCarthy', + author_email='me@kevinmccarthy.org', + url='https://github.com/kevin1024/vcrpy', + packages=[ 'vcr', 'vcr.stubs', 'vcr.compat', 'vcr.persisters', 'vcr.serializers', - ], - package_dir={ + ], + package_dir={ 'vcr': 'vcr', 'vcr.stubs': 'vcr/stubs', 'vcr.compat': 'vcr/compat', 'vcr.persisters': 'vcr/persisters', - }, - install_requires=['PyYAML','contextdecorator','six'], - license='MIT', - tests_require=['pytest','mock'], - cmdclass={'test': PyTest}, - classifiers=[ - 'Development Status :: 4 - Beta', - 'Environment :: Console', - 'Intended Audience :: Developers', - 'Programming Language :: Python', - 'Programming Language :: Python :: 3', - 'Topic :: Software Development :: Testing', - 'Topic :: Internet :: WWW/HTTP', - 'License :: OSI Approved :: MIT License', - ], + }, + install_requires=['PyYAML', 'contextdecorator', 'six'], + license='MIT', + tests_require=['pytest', 'mock'], + cmdclass={'test': PyTest}, + classifiers=[ + 'Development Status :: 4 - Beta', + 'Environment :: Console', + 'Intended Audience :: Developers', + 'Programming Language :: Python', + 'Programming Language :: Python :: 3', + 'Topic :: Software Development :: Testing', + 'Topic :: Internet :: WWW/HTTP', + 'License :: OSI Approved :: MIT License', + ], ) -- 2.43.0