setup.cfg
This file
Path
setup.cfg
37 lines · 953 bytes
Last changed by
Add mypy flags (#2472)Adrian Garcia Badaraccobefore adoption1fc6a52
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_configs = True12disallow_subclassing_any = True13check_untyped_defs = True14disallow_untyped_decorators = True15warn_redundant_casts = True16strict_concatenate = True1718[mypy-tests.*]19disallow_untyped_defs = False20check_untyped_defs = True2122[tool:isort]23profile = black24combine_as_imports = True2526[tool:pytest]27addopts = -rxXs28filterwarnings =29 error30asyncio_mode = strict31markers =32 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 setup33 network: marks tests which require network connection. Used in 3rd-party build environments that have network disabled.3435[coverage:run]36omit = venv/*, httpx/_compat.py37include = httpx/*, tests/*