mitmproxy/setup.cfg

74 lines
1.6 KiB
INI
Raw Normal View History

2015-05-30 00:03:28 +00:00
[flake8]
2016-05-29 11:33:20 +00:00
max-line-length = 140
max-complexity = 25
2020-08-26 21:33:15 +00:00
ignore = E251,E252,C901,W292,W503,W504,W605,E722,E741,E126,F541
2020-12-14 22:52:33 +00:00
exclude = mitmproxy/contrib/*,test/mitmproxy/data/*,release/build/*
addons = file,open,basestring,xrange,unicode,long,cmp
[tool:pytest]
2016-01-27 09:10:14 +00:00
testpaths = test
2016-06-25 09:27:58 +00:00
addopts = --capture=no --color=yes
[coverage:run]
branch = False
omit = *contrib*, *tnetstring*, *platform*, *main.py
[coverage:report]
show_missing = True
exclude_lines =
pragma: no cover
raise NotImplementedError
raise AssertionError
2019-11-18 04:19:06 +00:00
if typing.TYPE_CHECKING:
if TYPE_CHECKING:
@overload
2017-02-14 23:27:14 +00:00
2019-11-16 13:56:01 +00:00
[mypy]
ignore_missing_imports = True
2021-02-03 22:00:41 +00:00
files = mitmproxy,examples/addons,release
2019-11-16 13:56:01 +00:00
2017-12-18 08:33:14 +00:00
[mypy-mitmproxy.contrib.*]
ignore_errors = True
[mypy-tornado.*]
2019-11-16 13:56:01 +00:00
ignore_errors = True
[mypy-test.*]
2017-12-18 08:33:14 +00:00
ignore_errors = True
2021-02-09 00:05:02 +00:00
# https://github.com/python/mypy/issues/3004
[mypy-http-modify-form,http-trailers]
ignore_errors = True
2017-02-14 23:27:14 +00:00
[tool:full_coverage]
exclude =
mitmproxy/tools/
release/hooks
2017-02-15 17:52:32 +00:00
[tool:individual_coverage]
exclude =
2020-12-15 22:50:16 +00:00
mitmproxy/addons/onboarding.py
2017-02-15 17:52:32 +00:00
mitmproxy/addons/termlog.py
2020-12-12 13:33:37 +00:00
mitmproxy/connections.py
2017-02-15 17:52:32 +00:00
mitmproxy/contentviews/base.py
mitmproxy/controller.py
mitmproxy/ctx.py
mitmproxy/exceptions.py
mitmproxy/flow.py
mitmproxy/io/io.py
mitmproxy/io/tnetstring.py
2017-02-15 17:52:32 +00:00
mitmproxy/log.py
mitmproxy/master.py
mitmproxy/net/check.py
mitmproxy/net/http/cookies.py
mitmproxy/net/http/message.py
mitmproxy/net/http/multipart.py
mitmproxy/net/tcp.py
mitmproxy/net/tls.py
2017-02-15 17:52:32 +00:00
mitmproxy/options.py
mitmproxy/proxy/config.py
mitmproxy/proxy/server.py
2020-12-14 19:00:35 +00:00
mitmproxy/proxy/layers/tls.py
2017-02-15 17:52:32 +00:00
mitmproxy/utils/bits.py
release/hooks