setup.cfg
This file
Path
setup.cfg
38 lines · 980 bytes
Last changed by
Remove and dissallow unused type ignores (#2470)Adrian Garcia Badaraccobefore adoption69e13cb
History of this fileTake 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 = True1819[mypy-tests.*]20disallow_untyped_defs = False21check_untyped_defs = True2223[tool:isort]24profile = black25combine_as_imports = True2627[tool:pytest]28addopts = -rxXs29filterwarnings =30 error31asyncio_mode = strict32markers =33 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 setup34 network: marks tests which require network connection. Used in 3rd-party build environments that have network disabled.3536[coverage:run]37omit = venv/*, httpx/_compat.py38include = httpx/*, tests/*