flake8: import statement improvements

This commit is contained in:
2017-05-29 22:37:43 -04:00
parent 4e1bbe1288
commit 7c2618eb82
2 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -11,7 +11,7 @@ test-readme:
python setup.py check -r -s
flake8:
flake8 --ignore=E501,F401,E128 requests
flake8 --ignore=E501,F401,E128,E402 requests
coverage:
py.test --cov-config .coveragerc --verbose --cov-report term --cov-report xml --cov=requests tests
+4 -4
View File
@@ -40,10 +40,6 @@ is at <http://python-requests.org>.
:license: Apache 2.0, see LICENSE for more details.
"""
from .__version__ import __title__, __description__, __url__, __version__
from .__version__ import __build__, __author__, __author_email__, __license__
from .__version__ import __copyright__, __cake__
# Check urllib3 for compatibility.
import urllib3
urllib3_version = urllib3.__version__.split('.')
@@ -86,6 +82,10 @@ import warnings
from urllib3.exceptions import DependencyWarning
warnings.simplefilter('ignore', DependencyWarning)
from .__version__ import __title__, __description__, __url__, __version__
from .__version__ import __build__, __author__, __author_email__, __license__
from .__version__ import __copyright__, __cake__
from . import utils
from . import packages
from .models import Request, Response, PreparedRequest