Skip to content

Commit a274c4d

Browse files
committed
format with black
1 parent 51c8f5e commit a274c4d

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

ipykernel/kernelbase.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -929,10 +929,7 @@ def get_process_metric_value(self, process, name, attribute=None):
929929
return None
930930

931931
async def usage_request(self, stream, ident, parent):
932-
reply_content = {
933-
"hostname": socket.gethostname(),
934-
"pid": os.getpid()
935-
}
932+
reply_content = {"hostname": socket.gethostname(), "pid": os.getpid()}
936933
current_process = psutil.Process()
937934
all_processes = [current_process] + current_process.children(recursive=True)
938935
process_metric_value = self.get_process_metric_value

0 commit comments

Comments
 (0)