httpx/setup.cfg
Jo 8088fc7ff7
Test under 3.11-dev (#2302)
* Test under 3.11.0-beta.3

* Ignore cgi and importlib warnings

* Ignore src_constant warning

* Install whell before other requirements

* Minor

* Remove uvicorn ignore

* Use 3.11-dev instead

* Add 3.11 to classifiers

* Revert unrelated change

* Bump coverage
2022-09-29 17:00:21 +01:00

33 lines
855 B
INI

[flake8]
ignore = W503, E203, B305, PIE801
max-line-length = 120
[mypy]
disallow_untyped_defs = True
ignore_missing_imports = True
no_implicit_optional = True
show_error_codes = True
[mypy-tests.*]
disallow_untyped_defs = False
check_untyped_defs = True
[tool:isort]
profile = black
combine_as_imports = True
[tool:pytest]
addopts = -rxXs
filterwarnings =
error
default:path is deprecated:DeprecationWarning:certifi
default:'cgi' is deprecated:DeprecationWarning
asyncio_mode = strict
markers =
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 setup
network: marks tests which require network connection. Used in 3rd-party build environments that have network disabled.
[coverage:run]
omit = venv/*, httpx/_compat.py
include = httpx/*, tests/*