Skip to content
Myr

flake8: import statement improvements

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Kenneth Reitz · committed by Kenneth Reitz · parent 4e1bbe1 · Browse files · 2 files+5 added−5 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

2 files+5 added−5 removed

  • other:+5 added−5 removed

2 files+5 added−5 removed

modified:requests/__init__.py+4 added-4 removed
38 unmodified lines
39:copyright: (c) 2017 by Kenneth Reitz.40:license: Apache 2.0, see LICENSE for more details.41"""4243from .__version__ import __title__, __description__, __url__, __version__44from .__version__ import __build__, __author__, __author_email__, __license__45from .__version__ import __copyright__, __cake__4643# Check urllib3 for compatibility.44import urllib345urllib3_version = urllib3.__version__.split('.')46# Sometimes, urllib3 only reports its version as 16.1.
34 unmodified lines
81# urllib3's DependencyWarnings should be silenced.82from urllib3.exceptions import DependencyWarning83warnings.simplefilter('ignore', DependencyWarning)8485from .__version__ import __title__, __description__, __url__, __version__86from .__version__ import __build__, __author__, __author_email__, __license__87from .__version__ import __copyright__, __cake__8889from . import utils90from . import packages91from .models import Request, Response, PreparedRequest92from .api import request, get, head, post, patch, put, delete, options
21 unmodified lines
modified:Makefile+1 added-1 removed
9 unmodified lines
10test-readme:11 python setup.py check -r -s1213flake8:14 flake8 --ignore=E501,F401,E128 requests14 flake8 --ignore=E501,F401,E128,E402 requests1516coverage:17 py.test --cov-config .coveragerc --verbose --cov-report term --cov-report xml --cov=requests tests18
9 unmodified lines