Skip to content
Myr

setup.cfg

This file

Path

setup.cfg

25 lines · 706 bytes

Last changed by

Add mypy config for tests directory (#991)Florimond Mancabefore adoption66a4537

History of this file

Take it

The walk stopped after 200 commits: lines older than 8d55d78 point at it.

Drop nox in favor of vanilla scripts (#566)Florimond Mancabefore adoption8d55d78

lines 1–8why, one step back
1[flake8]
2ignore = W503, E203, B3053max-line-length = 8845[mypy]6disallow_untyped_defs = True7ignore_missing_imports = True8

Add mypy config for tests directory (#991)Florimond Mancabefore adoption66a4537

lines 9–12why, one step back
9[mypy-tests.*]
10disallow_untyped_defs = False11check_untyped_defs = True12

Drop nox in favor of vanilla scripts (#566)Florimond Mancabefore adoption8d55d78

lines 13–16why, one step back
13[tool:isort]
14combine_as_imports = True15force_grid_wrap = 016include_trailing_comma = True

Remove httpxprof (#663)Florimond Mancabefore adoption9e88f2e

line 17why, one step back
17known_first_party = httpx,tests

Tighten multipart implementation types (#975)Florimond Mancabefore adoption9f58afd

line 18why, one step back
18known_third_party = brotli,certifi,chardet,cryptography,hstspreload,httpcore,pytest,rfc3986,setuptools,sniffio,trio,trustme,uvicorn

Drop nox in favor of vanilla scripts (#566)Florimond Mancabefore adoption8d55d78

lines 19–22why, one step back
19line_length = 88
20multi_line_output = 32122[tool:pytest]

Enforce coverage (#955)Tom Christiebefore adoption0a8b0c6

line 23why, one step back
23addopts = --cov=httpx --cov=tests -rxXs

Drop nox in favor of vanilla scripts (#566)Florimond Mancabefore adoption8d55d78

lines 24–25why, one step back
24markers =
25 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