From a54954ee1ebb46cd4e163af407faf1e034e1a4e6 Mon Sep 17 00:00:00 2001 From: Thomas Kriechbaumer Date: Sat, 28 Sep 2019 12:01:39 +0200 Subject: [PATCH] fix linting --- examples/complex/har_dump.py | 2 +- setup.cfg | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/examples/complex/har_dump.py b/examples/complex/har_dump.py index 414b4f61f..e3cea9fd4 100644 --- a/examples/complex/har_dump.py +++ b/examples/complex/har_dump.py @@ -88,7 +88,7 @@ def response(flow): # HAR timings are integers in ms, so we re-encode the raw timings to that format. timings = { - k: int(1000 * v) if v != -1 else -1 + k: int(1000 * v) if v != -1 else -1 for k, v in timings_raw.items() } diff --git a/setup.cfg b/setup.cfg index 83144c22d..c717bd1c0 100644 --- a/setup.cfg +++ b/setup.cfg @@ -59,7 +59,6 @@ exclude = 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/net/tls.py mitmproxy/options.py