mirror of
https://github.com/Grasscutters/mitmproxy.git
synced 2024-11-22 07:08:10 +00:00
bcbe87bb09
Also add a "raw" export format. The Python and Locust exports are hard to maintain, their tests are extremely brittle, they didn't have full test coverage, and are by my guess very rarely used. I feel the Locust export should certainly be an externally maintained addon. The Python/requests export can come back if someone cares enough, and it can be structured in a way we can maintain.
101 lines
2.8 KiB
INI
101 lines
2.8 KiB
INI
[flake8]
|
|
max-line-length = 140
|
|
max-complexity = 25
|
|
ignore = E251,C901,W503
|
|
exclude = mitmproxy/contrib/*,test/mitmproxy/data/*,release/build/*
|
|
addons = file,open,basestring,xrange,unicode,long,cmp
|
|
|
|
[tool:pytest]
|
|
testpaths = test
|
|
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()
|
|
|
|
[tool:full_coverage]
|
|
exclude =
|
|
mitmproxy/contentviews/__init__.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/controller.py
|
|
mitmproxy/flow.py
|
|
mitmproxy/io/compat.py
|
|
mitmproxy/master.py
|
|
pathod/pathoc.py
|
|
pathod/pathod.py
|
|
pathod/test.py
|
|
pathod/protocols/http2.py
|
|
|
|
[tool:individual_coverage]
|
|
exclude =
|
|
mitmproxy/addons/onboardingapp/app.py
|
|
mitmproxy/addons/termlog.py
|
|
mitmproxy/contentviews/base.py
|
|
mitmproxy/contentviews/wbxml.py
|
|
mitmproxy/contentviews/xml_html.py
|
|
mitmproxy/controller.py
|
|
mitmproxy/ctx.py
|
|
mitmproxy/exceptions.py
|
|
mitmproxy/flow.py
|
|
mitmproxy/io/io.py
|
|
mitmproxy/io/compat.py
|
|
mitmproxy/io/tnetstring.py
|
|
mitmproxy/log.py
|
|
mitmproxy/master.py
|
|
mitmproxy/net/check.py
|
|
mitmproxy/net/http/cookies.py
|
|
mitmproxy/net/http/headers.py
|
|
mitmproxy/net/http/message.py
|
|
mitmproxy/net/http/multipart.py
|
|
mitmproxy/net/http/url.py
|
|
mitmproxy/net/tcp.py
|
|
mitmproxy/options.py
|
|
mitmproxy/proxy/config.py
|
|
mitmproxy/proxy/modes/http_proxy.py
|
|
mitmproxy/proxy/modes/reverse_proxy.py
|
|
mitmproxy/proxy/modes/socks_proxy.py
|
|
mitmproxy/proxy/modes/transparent_proxy.py
|
|
mitmproxy/proxy/protocol/base.py
|
|
mitmproxy/proxy/protocol/http.py
|
|
mitmproxy/proxy/protocol/http1.py
|
|
mitmproxy/proxy/protocol/http2.py
|
|
mitmproxy/proxy/protocol/http_replay.py
|
|
mitmproxy/proxy/protocol/rawtcp.py
|
|
mitmproxy/proxy/protocol/tls.py
|
|
mitmproxy/proxy/protocol/websocket.py
|
|
mitmproxy/proxy/root_context.py
|
|
mitmproxy/proxy/server.py
|
|
mitmproxy/stateobject.py
|
|
mitmproxy/types/multidict.py
|
|
mitmproxy/utils/bits.py
|
|
pathod/language/actions.py
|
|
pathod/language/base.py
|
|
pathod/language/exceptions.py
|
|
pathod/language/generators.py
|
|
pathod/language/http.py
|
|
pathod/language/message.py
|
|
pathod/log.py
|
|
pathod/pathoc.py
|
|
pathod/pathod.py
|
|
pathod/protocols/http.py
|
|
pathod/protocols/http2.py
|
|
pathod/protocols/websockets.py
|
|
pathod/test.py
|