forked from encode/httpcore
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.cfg
36 lines (29 loc) · 897 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
32
33
34
35
36
[flake8]
ignore = W503, E203, B305
max-line-length = 120
exclude = httpcore/_sync,tests/_sync
[mypy]
strict = True
show_error_codes = True
[mypy-tests.*]
disallow_untyped_defs = False
check_untyped_defs = True
[mypy-h2.*]
ignore_missing_imports = True
[mypy-hpack.*]
ignore_missing_imports = True
[tool:isort]
profile = black
combine_as_imports = True
known_first_party = httpcore,tests
known_third_party = brotli,certifi,chardet,cryptography,h11,h2,hstspreload,pytest,rfc3986,setuptools,sniffio,trio,trustme,urllib3,uvicorn
skip = httpcore/_sync/,tests/_sync
[tool:pytest]
addopts = -rxXs --strict-config --strict-markers
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
filterwarnings =
error
[coverage:run]
omit = venv/*, httpcore/_sync/*
include = httpcore/*, tests/*