* url.userinfo should be URL encoded bytes * Neater copy_with implementation * Finesse API around URL properties and copy_with * Docstring for URL, and drop url.authority * Support url.copy_with(raw_path=...) * Docstrings on URL methods * Tweak docstring
23 lines
614 B
INI
23 lines
614 B
INI
[flake8]
|
|
ignore = W503, E203, B305
|
|
max-line-length = 120
|
|
|
|
[mypy]
|
|
disallow_untyped_defs = True
|
|
ignore_missing_imports = True
|
|
|
|
[mypy-tests.*]
|
|
disallow_untyped_defs = False
|
|
check_untyped_defs = True
|
|
|
|
[tool:isort]
|
|
profile = black
|
|
combine_as_imports = True
|
|
known_first_party = httpx,tests
|
|
known_third_party = brotli,certifi,cryptography,httpcore,pytest,rfc3986,setuptools,sniffio,trio,trustme,uvicorn
|
|
|
|
[tool:pytest]
|
|
addopts = --cov=httpx --cov=tests -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
|