diff options
| author | Alex Grönholm <alex.gronholm@nextday.fi> | 2021-12-24 01:27:26 +0200 |
|---|---|---|
| committer | Alex Grönholm <alex.gronholm@nextday.fi> | 2021-12-24 01:45:01 +0200 |
| commit | 5eb690c72ea59bc0f8a2fa34d3993ebe3dbe0d38 (patch) | |
| tree | dff2a2103314f0fe6c5cc53b91a120f59edf78d3 /tests/testdata | |
| parent | 64d0b8d779b5b41bacea2ef3b59f3e06f0e683ed (diff) | |
| download | wheel-git-5eb690c72ea59bc0f8a2fa34d3993ebe3dbe0d38.tar.gz | |
Adopted black and reformatted the codebase to match
Diffstat (limited to 'tests/testdata')
| -rw-r--r-- | tests/testdata/abi3extension.dist/setup.py | 17 | ||||
| -rw-r--r-- | tests/testdata/commasinfilenames.dist/setup.py | 10 | ||||
| -rw-r--r-- | tests/testdata/complex-dist/setup.py | 39 | ||||
| -rw-r--r-- | tests/testdata/extension.dist/setup.py | 14 | ||||
| -rw-r--r-- | tests/testdata/headers.dist/setup.py | 11 | ||||
| -rw-r--r-- | tests/testdata/simple.dist/setup.py | 13 | ||||
| -rw-r--r-- | tests/testdata/unicode.dist/setup.py | 11 |
7 files changed, 57 insertions, 58 deletions
diff --git a/tests/testdata/abi3extension.dist/setup.py b/tests/testdata/abi3extension.dist/setup.py index e9a08df..10127da 100644 --- a/tests/testdata/abi3extension.dist/setup.py +++ b/tests/testdata/abi3extension.dist/setup.py @@ -1,11 +1,10 @@ from setuptools import setup, Extension -setup(name='extension.dist', - version='0.1', - description='A testing distribution \N{SNOWMAN}', - ext_modules=[ - Extension(name='extension', - sources=['extension.c'], - py_limited_api=True) - ], - ) +setup( + name="extension.dist", + version="0.1", + description="A testing distribution \N{SNOWMAN}", + ext_modules=[ + Extension(name="extension", sources=["extension.c"], py_limited_api=True) + ], +) diff --git a/tests/testdata/commasinfilenames.dist/setup.py b/tests/testdata/commasinfilenames.dist/setup.py index 8cf9e4e..b24e0cb 100644 --- a/tests/testdata/commasinfilenames.dist/setup.py +++ b/tests/testdata/commasinfilenames.dist/setup.py @@ -1,12 +1,10 @@ from setuptools import setup setup( - name='testrepo', - version='0.1', + name="testrepo", + version="0.1", packages=["mypackage"], - description='A test package with commas in file names', + description="A test package with commas in file names", include_package_data=True, - package_data={ - "mypackage.data": ["*"] - }, + package_data={"mypackage.data": ["*"]}, ) diff --git a/tests/testdata/complex-dist/setup.py b/tests/testdata/complex-dist/setup.py index 632ae3f..70d85df 100644 --- a/tests/testdata/complex-dist/setup.py +++ b/tests/testdata/complex-dist/setup.py @@ -1,21 +1,22 @@ from setuptools import setup -setup(name='complex-dist', - version='0.1', - description='Another testing distribution \N{SNOWMAN}', - long_description='Another testing distribution \N{SNOWMAN}', - author="Illustrious Author", - author_email="illustrious@example.org", - url="http://example.org/exemplary", - packages=['complexdist'], - setup_requires=["wheel", "setuptools"], - install_requires=["quux", "splort"], - extras_require={'simple': ['simple.dist']}, - tests_require=["foo", "bar>=10.0.0"], - entry_points={ - 'console_scripts': [ - 'complex-dist=complexdist:main', - 'complex-dist2=complexdist:main', - ], - }, - ) +setup( + name="complex-dist", + version="0.1", + description="Another testing distribution \N{SNOWMAN}", + long_description="Another testing distribution \N{SNOWMAN}", + author="Illustrious Author", + author_email="illustrious@example.org", + url="http://example.org/exemplary", + packages=["complexdist"], + setup_requires=["wheel", "setuptools"], + install_requires=["quux", "splort"], + extras_require={"simple": ["simple.dist"]}, + tests_require=["foo", "bar>=10.0.0"], + entry_points={ + "console_scripts": [ + "complex-dist=complexdist:main", + "complex-dist2=complexdist:main", + ], + }, +) diff --git a/tests/testdata/extension.dist/setup.py b/tests/testdata/extension.dist/setup.py index c9bf948..fc4042b 100644 --- a/tests/testdata/extension.dist/setup.py +++ b/tests/testdata/extension.dist/setup.py @@ -1,10 +1,8 @@ from setuptools import setup, Extension -setup(name='extension.dist', - version='0.1', - description='A testing distribution \N{SNOWMAN}', - ext_modules=[ - Extension(name='extension', - sources=['extension.c']) - ], - ) +setup( + name="extension.dist", + version="0.1", + description="A testing distribution \N{SNOWMAN}", + ext_modules=[Extension(name="extension", sources=["extension.c"])], +) diff --git a/tests/testdata/headers.dist/setup.py b/tests/testdata/headers.dist/setup.py index 2c7d7ea..d9d8adb 100644 --- a/tests/testdata/headers.dist/setup.py +++ b/tests/testdata/headers.dist/setup.py @@ -1,7 +1,8 @@ from setuptools import setup -setup(name='headers.dist', - version='0.1', - description='A distribution with headers', - headers=['header.h'] - ) +setup( + name="headers.dist", + version="0.1", + description="A distribution with headers", + headers=["header.h"], +) diff --git a/tests/testdata/simple.dist/setup.py b/tests/testdata/simple.dist/setup.py index 81b26cd..3c7da87 100644 --- a/tests/testdata/simple.dist/setup.py +++ b/tests/testdata/simple.dist/setup.py @@ -1,8 +1,9 @@ from setuptools import setup -setup(name='simple.dist', - version='0.1', - description='A testing distribution \N{SNOWMAN}', - packages=['simpledist'], - extras_require={'voting': ['beaglevote']}, - ) +setup( + name="simple.dist", + version="0.1", + description="A testing distribution \N{SNOWMAN}", + packages=["simpledist"], + extras_require={"voting": ["beaglevote"]}, +) diff --git a/tests/testdata/unicode.dist/setup.py b/tests/testdata/unicode.dist/setup.py index 221088e..606f42a 100644 --- a/tests/testdata/unicode.dist/setup.py +++ b/tests/testdata/unicode.dist/setup.py @@ -1,7 +1,8 @@ from setuptools import setup -setup(name='unicode.dist', - version='0.1', - description='A testing distribution \N{SNOWMAN}', - packages=['unicodedist'] - ) +setup( + name="unicode.dist", + version="0.1", + description="A testing distribution \N{SNOWMAN}", + packages=["unicodedist"], +) |
