Skip to content

Commit

Permalink
Lint fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
abhinavsingh committed Nov 5, 2021
1 parent 670966b commit 677d845
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
6 changes: 4 additions & 2 deletions proxy/dashboard/dashboard.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,10 @@ def handle_request(self, request: HttpParser) -> None:
if request.path == b'/dashboard/':
self.client.queue(
HttpWebServerPlugin.read_and_build_static_file_response(
os.path.join(self.flags.static_server_dir,
'dashboard', 'proxy.html'),
os.path.join(
self.flags.static_server_dir,
'dashboard', 'proxy.html',
),
),
)
elif request.path in (
Expand Down
3 changes: 2 additions & 1 deletion proxy/http/inspector/devtools.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,8 @@ def handle_request(self, request: HttpParser) -> None:
def on_websocket_open(self) -> None:
self.subscriber.subscribe(
lambda event: CoreEventsToDevtoolsProtocol.transformer(
self.client, event),
self.client, event,
),
)

def on_websocket_message(self, frame: WebsocketFrame) -> None:
Expand Down

0 comments on commit 677d845

Please sign in to comment.