Skip to content

Commit 8bf7c88

Browse files
Run black on setup file
1 parent 63df495 commit 8bf7c88

2 files changed

Lines changed: 34 additions & 27 deletions

File tree

setup.py

Lines changed: 33 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -4,45 +4,52 @@
44
import transloadit
55

66

7-
install_requires = ['requests>=2.18.4', 'six>=1.11.0', 'tuspy>=0.2.3']
7+
install_requires = ["requests>=2.18.4", "six>=1.11.0", "tuspy>=0.2.3"]
88
tests_require = [
9-
'requests-mock>=1.3.0', 'mock>=2.0.0', 'coverage>=4.2', 'pytest>=4.6',
10-
'pytest-cov>=2.3.1'
9+
"requests-mock>=1.3.0",
10+
"mock>=2.0.0",
11+
"coverage>=4.2",
12+
"pytest>=4.6",
13+
"pytest-cov>=2.3.1",
1114
]
1215

1316
try:
1417
import pypandoc
15-
long_description = pypandoc.convert_file('README.md', 'rst').replace("\r", "")
18+
19+
long_description = pypandoc.convert_file("README.md", "rst").replace("\r", "")
1620
except (ImportError, OSError): # pypandoc or pandoc is not installed
17-
long_description = ''
21+
long_description = ""
1822

1923
setup(
20-
name='pytransloadit',
24+
name="pytransloadit",
2125
version=transloadit.__version__,
22-
url='http://github.com/transloadit/python-sdk/',
23-
license='MIT',
24-
author='Ifedapo Olarewaju',
26+
url="http://github.com/transloadit/python-sdk/",
27+
license="MIT",
28+
author="Ifedapo Olarewaju",
2529
install_requires=install_requires,
2630
tests_require=tests_require,
2731
extras_require={
28-
'test': tests_require,
29-
'dev': ['tox>=2.3.1', 'sphinx-autobuild==0.7.1', 'Sphinx==1.7.1']
32+
"test": tests_require,
33+
"dev": ["tox>=2.3.1", "sphinx-autobuild==0.7.1", "Sphinx==1.7.1"],
3034
},
31-
author_email='ifedapoolarewaju@gmail.com',
32-
description='A Python Integration for https://transloadit.com file uploading and encoding service.',
35+
author_email="ifedapoolarewaju@gmail.com",
36+
description="A Python Integration for https://transloadit.com file uploading and encoding service.",
3337
long_description=long_description,
34-
packages=['transloadit'],
38+
packages=["transloadit"],
3539
include_package_data=True,
36-
platforms='any',
40+
platforms="any",
3741
classifiers=[
38-
'Programming Language :: Python', 'Natural Language :: English',
39-
'Environment :: Web Environment', 'Intended Audience :: Developers',
40-
'Development Status :: 3 - Alpha',
41-
'License :: OSI Approved :: MIT License',
42-
'Operating System :: OS Independent',
43-
'Topic :: Software Development :: Libraries :: Python Modules',
44-
'Topic :: Internet :: File Transfer Protocol (FTP)',
45-
'Topic :: Communications :: File Sharing',
46-
'Topic :: Multimedia :: Video :: Conversion',
47-
'Topic :: Multimedia :: Sound/Audio :: Conversion'
48-
])
42+
"Programming Language :: Python",
43+
"Natural Language :: English",
44+
"Environment :: Web Environment",
45+
"Intended Audience :: Developers",
46+
"Development Status :: 3 - Alpha",
47+
"License :: OSI Approved :: MIT License",
48+
"Operating System :: OS Independent",
49+
"Topic :: Software Development :: Libraries :: Python Modules",
50+
"Topic :: Internet :: File Transfer Protocol (FTP)",
51+
"Topic :: Communications :: File Sharing",
52+
"Topic :: Multimedia :: Video :: Conversion",
53+
"Topic :: Multimedia :: Sound/Audio :: Conversion",
54+
],
55+
)

tox.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[tox]
2-
envlist = py27,py35
2+
envlist = py36, py37, py38, py39
33

44
skipsdist = True
55
[testenv]

0 commit comments

Comments
 (0)