Skip to content
Myr

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 file

Take it

1[flake8]2ignore = W503, E203, B3053max-line-length = 12045[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]18addopts = -rxXs19filterwarnings =20  error21  default:::uvicorn22markers =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 setup24  network: marks tests which require network connection. Used in 3rd-party build environments that have network disabled.2526[coverage:run]27omit = venv/*, httpx/_compat.py28include = httpx/*, tests/*