From 8968753467d592b295c2bfb11e9f006a35b7b699 Mon Sep 17 00:00:00 2001 From: allegroai <> Date: Sun, 17 Dec 2023 23:36:13 +0200 Subject: [PATCH] PEP8 --- clearml/debugging/trace.py | 3 +-- clearml/task.py | 2 -- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/clearml/debugging/trace.py b/clearml/debugging/trace.py index c5f46e2c..fb4fa89b 100644 --- a/clearml/debugging/trace.py +++ b/clearml/debugging/trace.py @@ -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() diff --git a/clearml/task.py b/clearml/task.py index 475793c8..e81dbc3f 100644 --- a/clearml/task.py +++ b/clearml/task.py @@ -1,9 +1,7 @@ -import atexit import copy import json import os import shutil -import signal import sys import threading import time