]> khamidou — GitHub mirrors - vcrpy.git/commitdiff
Formatted setup.py to make flake8 happy
authorMax Shytikov <mshytikov@gmail.com>
Mon, 21 Apr 2014 19:46:14 +0000 (21:46 +0200)
committerMax Shytikov <mshytikov@gmail.com>
Wed, 30 Apr 2014 00:36:25 +0000 (02:36 +0200)
setup.py

index d9c195ac69c4f0a7f096e59b43274f6b9cdd7182..6fef312cede9da143954c03c79ddb92c2adc8489 100644 (file)
--- 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',
+        ],
 )