forked from encode/httpx
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.cfg
31 lines (26 loc) · 770 Bytes
/
setup.cfg
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
[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:::uvicorn
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/*