Skip to content
Myr

setup.cfg

This file

Path

setup.cfg

22 lines · 878 bytes

Last changed by

Use ruff instead of flake8, autoflake and isort (#2648)Marcelo Trylesinskibefore adoptiondaec2bd

History of this file

Take it

1[mypy]2ignore_missing_imports = True3strict = True45[mypy-tests.*]6disallow_untyped_defs = False7check_untyped_defs = True89[tool:pytest]10addopts = -rxXs11filterwarnings =12  error13  ignore: You seem to already have a custom sys.excepthook handler installed. I'll skip installing Trio's custom handler, but this means MultiErrors will not show full tracebacks.:RuntimeWarning14  # See: https://github.com/agronholm/anyio/issues/50815  ignore: trio\.MultiError is deprecated since Trio 0\.22\.0:trio.TrioDeprecationWarning16markers =17  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 setup18  network: marks tests which require network connection. Used in 3rd-party build environments that have network disabled.1920[coverage:run]21omit = venv/*, httpx/_compat.py22include = httpx/*, tests/*