Skip to content
Myr

setup.cfg

This file

Path

setup.cfg

42 lines · 1.1 KiB

Last changed by

Typing: enable strict_equality (#2480)Martijn Pietersbefore adoption884a69a

History of this file

Take it

1[flake8]2ignore = W503, E203, B305, PIE8013max-line-length = 12045[mypy]6disallow_untyped_defs = True7disallow_any_generics = True8ignore_missing_imports = True9no_implicit_optional = True10show_error_codes = True11warn_unused_ignores = True12warn_unused_configs = True13disallow_subclassing_any = True14check_untyped_defs = True15disallow_untyped_decorators = True16warn_redundant_casts = True17strict_concatenate = True18disallow_incomplete_defs = True19no_implicit_reexport = True20warn_return_any = True21strict_equality = True2223[mypy-tests.*]24disallow_untyped_defs = False25check_untyped_defs = True2627[tool:isort]28profile = black29combine_as_imports = True3031[tool:pytest]32addopts = -rxXs33filterwarnings =34  error35asyncio_mode = strict36markers =37  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 setup38  network: marks tests which require network connection. Used in 3rd-party build environments that have network disabled.3940[coverage:run]41omit = venv/*, httpx/_compat.py42include = httpx/*, tests/*