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

1[flake8]2ignore = W503, E203, B3053max-line-length = 8845[mypy]6disallow_untyped_defs = True7ignore_missing_imports = True89[mypy-tests.*]10disallow_untyped_defs = False11check_untyped_defs = True1213[tool:isort]14combine_as_imports = True15force_grid_wrap = 016include_trailing_comma = True17known_first_party = httpx,tests18known_third_party = brotli,certifi,chardet,cryptography,hstspreload,httpcore,pytest,rfc3986,setuptools,sniffio,trio,trustme,uvicorn19line_length = 8820multi_line_output = 32122[tool:pytest]23addopts = --cov=httpx --cov=tests -rxXs24markers =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