setup.cfg
This file
Path
setup.cfg
28 lines · 688 bytes
Last changed by
Add a network pytest mark for tests that use the network (#1669)Antonio Larrosabefore adoption77193b2
History of this fileTake it
The walk stopped after 200 commits: lines older than 34ba0e1 point at it.
Document Unix Domain Socket usage (#1186)Florimond Mancabefore adoption34ba0e1
lines 1–2why, one step back1[flake8]2ignore = W503, E203, B305Finesse URL properties (#1285)Tom Christiebefore adoption8e4a8a1
line 3why, one step back3max-line-length = 120Document Unix Domain Socket usage (#1186)Florimond Mancabefore adoption34ba0e1
lines 4–17why, one step back45[mypy]6disallow_untyped_defs = True7ignore_missing_imports = True89[mypy-tests.*]10disallow_untyped_defs = False11check_untyped_defs = True1213[tool:isort]14profile = black15combine_as_imports = True1617[tool:pytest]Replacing pytest-cov by coverage (#1353)cdelerbefore adoption72a1f2c
line 18why, one step back18addopts = -rxXsTreat warnings as errors (#1687)Tom Christiebefore adoptionb43af72
lines 19–21why, one step back19filterwarnings =20 error21 default:::uvicornDocument Unix Domain Socket usage (#1186)Florimond Mancabefore adoption34ba0e1
lines 22–23why, one step back22markers =23 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 setupAdd a network pytest mark for tests that use the network (#1669)Antonio Larrosabefore adoption77193b2
line 24why, one step back24 network: marks tests which require network connection. Used in 3rd-party build environments that have network disabled.Replacing pytest-cov by coverage (#1353)cdelerbefore adoption72a1f2c
lines 25–26why, one step back2526[coverage:run]Treat warnings as errors (#1687)Tom Christiebefore adoptionb43af72
line 27why, one step back27omit = venv/*, httpx/_compat.pyReplacing pytest-cov by coverage (#1353)cdelerbefore adoption72a1f2c
line 28why, one step back28include = httpx/*, tests/*