-
Notifications
You must be signed in to change notification settings - Fork 83
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add black to dev-env requirements * Apply black to everything
- Loading branch information
Showing
15 changed files
with
449 additions
and
316 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,3 +6,4 @@ pytest-django==3.5.0 | |
pytest-cov==2.7.1 | ||
flake8==3.7.7 | ||
mock==2.0.0 | ||
black==21.6b0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,46 +4,46 @@ | |
import sys | ||
from setuptools import setup | ||
|
||
needs_pytest = {'pytest', 'test', 'ptr'}.intersection(sys.argv) | ||
pytest_runner = ['pytest-runner >=4.0,<5dev'] if needs_pytest else [] | ||
needs_pytest = {"pytest", "test", "ptr"}.intersection(sys.argv) | ||
pytest_runner = ["pytest-runner >=4.0,<5dev"] if needs_pytest else [] | ||
|
||
|
||
def read(fname): | ||
return open(os.path.join(os.path.dirname(__file__), fname)).read() | ||
|
||
|
||
setup( | ||
name='graphene-django-optimizer', | ||
version='0.8.0', | ||
author='Tomás Fox', | ||
author_email='[email protected]', | ||
description='Optimize database access inside graphene queries.', | ||
license='MIT', | ||
keywords='graphene django optimizer optimize graphql query prefetch select related', | ||
url='https://github.com/tfoxy/graphene-django-optimizer', | ||
packages=['graphene_django_optimizer'], | ||
name="graphene-django-optimizer", | ||
version="0.8.0", | ||
author="Tomás Fox", | ||
author_email="[email protected]", | ||
description="Optimize database access inside graphene queries.", | ||
license="MIT", | ||
keywords="graphene django optimizer optimize graphql query prefetch select related", | ||
url="https://github.com/tfoxy/graphene-django-optimizer", | ||
packages=["graphene_django_optimizer"], | ||
setup_requires=pytest_runner, | ||
long_description=read('README.md'), | ||
long_description_content_type='text/markdown', | ||
long_description=read("README.md"), | ||
long_description_content_type="text/markdown", | ||
classifiers=[ | ||
'Development Status :: 4 - Beta', | ||
'Environment :: Web Environment', | ||
'Intended Audience :: Developers', | ||
'License :: OSI Approved :: MIT License', | ||
'Operating System :: OS Independent', | ||
'Programming Language :: Python', | ||
'Programming Language :: Python :: 2.7', | ||
'Programming Language :: Python :: 3', | ||
'Programming Language :: Python :: 3.5', | ||
'Programming Language :: Python :: 3.6', | ||
'Programming Language :: Python :: 3.7', | ||
'Programming Language :: Python :: 3.8', | ||
'Framework :: Django', | ||
'Framework :: Django :: 1.11', | ||
'Framework :: Django :: 2.0', | ||
'Framework :: Django :: 2.1', | ||
'Framework :: Django :: 2.2', | ||
'Framework :: Django :: 3.0', | ||
'Framework :: Django :: 3.1', | ||
"Development Status :: 4 - Beta", | ||
"Environment :: Web Environment", | ||
"Intended Audience :: Developers", | ||
"License :: OSI Approved :: MIT License", | ||
"Operating System :: OS Independent", | ||
"Programming Language :: Python", | ||
"Programming Language :: Python :: 2.7", | ||
"Programming Language :: Python :: 3", | ||
"Programming Language :: Python :: 3.5", | ||
"Programming Language :: Python :: 3.6", | ||
"Programming Language :: Python :: 3.7", | ||
"Programming Language :: Python :: 3.8", | ||
"Framework :: Django", | ||
"Framework :: Django :: 1.11", | ||
"Framework :: Django :: 2.0", | ||
"Framework :: Django :: 2.1", | ||
"Framework :: Django :: 2.2", | ||
"Framework :: Django :: 3.0", | ||
"Framework :: Django :: 3.1", | ||
], | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.