From dc40fc4933a2e5b1f12066b39f729b63f9f7441a Mon Sep 17 00:00:00 2001 From: Ujjwal Verma Date: Fri, 12 May 2017 21:08:58 +0530 Subject: [PATCH] Changes in setup.cfg --- mitmproxy/io/compat.py | 2 +- setup.cfg | 5 ----- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/mitmproxy/io/compat.py b/mitmproxy/io/compat.py index 45159145b..99da496d1 100644 --- a/mitmproxy/io/compat.py +++ b/mitmproxy/io/compat.py @@ -159,7 +159,7 @@ def _convert_dict_keys(o: Any) -> Any: def _convert_dict_vals(o: dict, values_to_convert: dict) -> dict: for k, v in values_to_convert.items(): if not o or k not in o: - continue + continue # pragma: no cover if v is True: o[k] = strutils.always_str(o[k]) else: diff --git a/setup.cfg b/setup.cfg index 993cad312..ebe76efd7 100644 --- a/setup.cfg +++ b/setup.cfg @@ -25,10 +25,7 @@ exclude = 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 @@ -36,7 +33,6 @@ exclude = mitmproxy/tools/ mitmproxy/controller.py mitmproxy/flow.py - mitmproxy/io/compat.py mitmproxy/master.py pathod/pathoc.py pathod/pathod.py @@ -55,7 +51,6 @@ exclude = mitmproxy/exceptions.py mitmproxy/flow.py mitmproxy/io/io.py - mitmproxy/io/compat.py mitmproxy/io/tnetstring.py mitmproxy/log.py mitmproxy/master.py