* BaseClient and AsyncClient * Introduce 'httpx.Client' * Top level API -> sync * Top level API -> sync * Add WSGI support, drop deprecated imports * Wire up timeouts to urllib3 * Wire up pool_limits * Add urllib3 proxy support * Pull #734 into sync Client * Update AsyncClient docstring * Simpler WSGI implementation * Set body=None when no content * Wrap urllib3 connection/read exceptions
25 lines
695 B
INI
25 lines
695 B
INI
[bdist_wheel]
|
|
universal = 1
|
|
|
|
[flake8]
|
|
ignore = W503, E203, B305
|
|
max-line-length = 88
|
|
|
|
[mypy]
|
|
disallow_untyped_defs = True
|
|
ignore_missing_imports = True
|
|
|
|
[tool:isort]
|
|
combine_as_imports = True
|
|
force_grid_wrap = 0
|
|
include_trailing_comma = True
|
|
known_first_party = httpx,tests
|
|
known_third_party = brotli,certifi,chardet,cryptography,h11,h2,hstspreload,pytest,rfc3986,setuptools,sniffio,trio,trustme,urllib3,uvicorn
|
|
line_length = 88
|
|
multi_line_output = 3
|
|
|
|
[tool:pytest]
|
|
addopts = --cov=httpx --cov=tests --cov-report=term-missing -rxXs
|
|
markers =
|
|
copied_from(source, changes=None): mark test as copied from somewhere else, along with a description of changes made to accodomate e.g. our test setup
|