2015-05-30 00:03:28 +00:00
|
|
|
[flake8]
|
2016-05-29 11:33:20 +00:00
|
|
|
max-line-length = 140
|
2016-05-29 09:43:29 +00:00
|
|
|
max-complexity = 25
|
2016-10-26 05:19:43 +00:00
|
|
|
ignore = E251,C901,W503
|
2016-12-11 22:07:47 +00:00
|
|
|
exclude = mitmproxy/contrib/*,test/mitmproxy/data/*,release/build/*
|
2016-10-19 01:25:11 +00:00
|
|
|
addons = file,open,basestring,xrange,unicode,long,cmp
|
2015-09-28 08:59:10 +00:00
|
|
|
|
2016-09-25 04:01:48 +00:00
|
|
|
[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
|
2016-02-18 12:24:17 +00:00
|
|
|
|
|
|
|
[coverage:run]
|
2016-11-01 21:54:08 +00:00
|
|
|
branch = False
|
2016-06-02 02:44:06 +00:00
|
|
|
omit = *contrib*, *tnetstring*, *platform*, *main.py
|
2016-02-18 12:24:17 +00:00
|
|
|
|
|
|
|
[coverage:report]
|
|
|
|
show_missing = True
|
|
|
|
exclude_lines =
|
|
|
|
pragma: no cover
|
|
|
|
raise NotImplementedError()
|
2017-02-14 23:27:14 +00:00
|
|
|
|
|
|
|
[tool:full_coverage]
|
|
|
|
exclude =
|
|
|
|
mitmproxy/contentviews/__init__.py
|
|
|
|
mitmproxy/contentviews/protobuf.py
|
|
|
|
mitmproxy/contentviews/wbxml.py
|
|
|
|
mitmproxy/contentviews/xml_html.py
|
|
|
|
mitmproxy/net/tcp.py
|
|
|
|
mitmproxy/net/http/cookies.py
|
|
|
|
mitmproxy/net/http/encoding.py
|
|
|
|
mitmproxy/net/http/message.py
|
|
|
|
mitmproxy/net/http/url.py
|
|
|
|
mitmproxy/proxy/protocol/
|
|
|
|
mitmproxy/proxy/config.py
|
|
|
|
mitmproxy/proxy/root_context.py
|
|
|
|
mitmproxy/proxy/server.py
|
|
|
|
mitmproxy/tools/
|
|
|
|
mitmproxy/certs.py
|
|
|
|
mitmproxy/connections.py
|
|
|
|
mitmproxy/controller.py
|
|
|
|
mitmproxy/export.py
|
|
|
|
mitmproxy/flow.py
|
|
|
|
mitmproxy/flowfilter.py
|
|
|
|
mitmproxy/http.py
|
|
|
|
mitmproxy/io_compat.py
|
|
|
|
mitmproxy/master.py
|
|
|
|
mitmproxy/optmanager.py
|
|
|
|
pathod/pathoc.py
|
|
|
|
pathod/pathod.py
|
|
|
|
pathod/test.py
|
|
|
|
pathod/protocols/http2.py
|