Skip to content

Commit f199a31

Browse files
committed
Format setup.py with black.
1 parent 9e960b5 commit f199a31

File tree

1 file changed

+27
-27
lines changed

1 file changed

+27
-27
lines changed

setup.py

Lines changed: 27 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
description = "An implementation of the WebSocket Protocol (RFC 6455 & 7692)"
1010

11-
long_description = (root_dir / 'README.rst').read_text(encoding='utf-8')
11+
long_description = (root_dir / "README.rst").read_text(encoding="utf-8")
1212

1313
# PyPI disables the "raw" directive.
1414
long_description = re.sub(
@@ -18,47 +18,47 @@
1818
flags=re.DOTALL | re.MULTILINE,
1919
)
2020

21-
exec((root_dir / 'src' / 'websockets' / 'version.py').read_text(encoding='utf-8'))
21+
exec((root_dir / "src" / "websockets" / "version.py").read_text(encoding="utf-8"))
2222

23-
packages = ['websockets', 'websockets/legacy', 'websockets/extensions']
23+
packages = ["websockets", "websockets/legacy", "websockets/extensions"]
2424

2525
ext_modules = [
2626
setuptools.Extension(
27-
'websockets.speedups',
28-
sources=['src/websockets/speedups.c'],
29-
optional=not (root_dir / '.cibuildwheel').exists(),
27+
"websockets.speedups",
28+
sources=["src/websockets/speedups.c"],
29+
optional=not (root_dir / ".cibuildwheel").exists(),
3030
)
3131
]
3232

3333
setuptools.setup(
34-
name='websockets',
34+
name="websockets",
3535
version=version,
3636
description=description,
3737
long_description=long_description,
38-
url='https://github.com/aaugustin/websockets',
39-
author='Aymeric Augustin',
40-
author_email='[email protected]',
41-
license='BSD',
38+
url="https://github.com/aaugustin/websockets",
39+
author="Aymeric Augustin",
40+
author_email="[email protected]",
41+
license="BSD",
4242
classifiers=[
43-
'Development Status :: 5 - Production/Stable',
44-
'Environment :: Web Environment',
45-
'Intended Audience :: Developers',
46-
'License :: OSI Approved :: BSD License',
47-
'Operating System :: OS Independent',
48-
'Programming Language :: Python',
49-
'Programming Language :: Python :: 3',
50-
'Programming Language :: Python :: 3.7',
51-
'Programming Language :: Python :: 3.8',
52-
'Programming Language :: Python :: 3.9',
53-
'Programming Language :: Python :: 3.10',
54-
'Programming Language :: Python :: 3.11',
43+
"Development Status :: 5 - Production/Stable",
44+
"Environment :: Web Environment",
45+
"Intended Audience :: Developers",
46+
"License :: OSI Approved :: BSD License",
47+
"Operating System :: OS Independent",
48+
"Programming Language :: Python",
49+
"Programming Language :: Python :: 3",
50+
"Programming Language :: Python :: 3.7",
51+
"Programming Language :: Python :: 3.8",
52+
"Programming Language :: Python :: 3.9",
53+
"Programming Language :: Python :: 3.10",
54+
"Programming Language :: Python :: 3.11",
5555
],
56-
package_dir = {'': 'src'},
57-
package_data = {'websockets': ['py.typed']},
56+
package_dir={"": "src"},
57+
package_data={"websockets": ["py.typed"]},
5858
packages=packages,
5959
ext_modules=ext_modules,
6060
include_package_data=True,
6161
zip_safe=False,
62-
python_requires='>=3.7',
63-
test_loader='unittest:TestLoader',
62+
python_requires=">=3.7",
63+
test_loader="unittest:TestLoader",
6464
)

0 commit comments

Comments
 (0)