Skip to content
Myr

setup.cfg

This file

Path

setup.cfg

21 lines · 684 bytes

Last changed by

Add tool for profiling (#364)Florimond Mancabefore adoptione1da6b9

History of this file

Take it

Move all tooling configuration to setup.cfg (#204)Humberto Rochabefore adoptione51b212

lines 1–12why, one step back
1[flake8]
2ignore = W503, E203, B3053max-line-length = 8845[mypy]6disallow_untyped_defs = True7ignore_missing_imports = True89[tool:isort]10combine_as_imports = True11force_grid_wrap = 012include_trailing_comma = True

Add tool for profiling (#364)Florimond Mancabefore adoptione1da6b9

lines 13–14why, one step back
13known_first_party = httpx,httpxprof,tests
14known_third_party = brotli,certifi,chardet,click,cryptography,h11,h2,hstspreload,nox,pytest,requests,rfc3986,setuptools,tqdm,trio,trustme,uvicorn

Move all tooling configuration to setup.cfg (#204)Humberto Rochabefore adoptione51b212

lines 15–18why, one step back
15line_length = 88
16multi_line_output = 31718[tool:pytest]

Test Requests entrypoints (#330)Florimond Mancabefore adoptionf1dde95

lines 19–21why, one step back
19addopts = --cov=httpx --cov=tests --cov-report=term-missing -rxXs
20markers =21 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