mirror of
https://github.com/clearml/clearml
synced 2025-01-31 00:56:57 +00:00
PEP8
This commit is contained in:
parent
081f4e5a56
commit
8968753467
@ -364,8 +364,7 @@ def debug_print(*args, **kwargs):
|
||||
tic = globals().get('tic', time.time())
|
||||
stdout_print(
|
||||
"\033[1;33m[pid={}, t={:.04f}] ".format(os.getpid(), time.time()-tic)
|
||||
+ str(args[0] if len(args) == 1 else ("" if not args else args)) + "\033[0m"
|
||||
, **kwargs
|
||||
+ str(args[0] if len(args) == 1 else ("" if not args else args)) + "\033[0m", **kwargs
|
||||
)
|
||||
tic = time.time()
|
||||
|
||||
|
@ -1,9 +1,7 @@
|
||||
import atexit
|
||||
import copy
|
||||
import json
|
||||
import os
|
||||
import shutil
|
||||
import signal
|
||||
import sys
|
||||
import threading
|
||||
import time
|
||||
|
Loading…
Reference in New Issue
Block a user