From a6bdde73f674b210dd9bc66d16c148a2abc7e6a1 Mon Sep 17 00:00:00 2001 From: Andrey Zhavoronkov Date: Tue, 31 Jan 2023 10:00:00 +0200 Subject: [PATCH] linter --- cvat/apps/engine/log.py | 1 - cvat/apps/engine/views.py | 2 +- cvat/apps/logs/log_exporter.py | 2 +- 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/cvat/apps/engine/log.py b/cvat/apps/engine/log.py index 6f7d490a9eee..8b76236ee842 100644 --- a/cvat/apps/engine/log.py +++ b/cvat/apps/engine/log.py @@ -2,7 +2,6 @@ # # SPDX-License-Identifier: MIT -import json import logging import sys import os.path as osp diff --git a/cvat/apps/engine/views.py b/cvat/apps/engine/views.py index a56bd2c6f380..656f8ef6fe24 100644 --- a/cvat/apps/engine/views.py +++ b/cvat/apps/engine/views.py @@ -69,7 +69,7 @@ from cvat.apps.engine.location import get_location_configuration, StorageType from . import models, task -from .log import clogger, slogger +from .log import slogger from cvat.apps.iam.permissions import (CloudStoragePermission, CommentPermission, IssuePermission, JobPermission, ProjectPermission, TaskPermission, UserPermission) diff --git a/cvat/apps/logs/log_exporter.py b/cvat/apps/logs/log_exporter.py index 3e5e2bf5b22c..8575d6b80be6 100644 --- a/cvat/apps/logs/log_exporter.py +++ b/cvat/apps/logs/log_exporter.py @@ -27,7 +27,7 @@ def _create_csv(query_params, output_filename, cache_ttl): 'to': query_params.pop('to'), } - query = f"SELECT * FROM cvat.logs" + query = "SELECT * FROM cvat.logs" conditions = [] parameters = {} for param, value in query_params.items():