From 19d21e945a1b8aac0f59925c33bfb94a9e6a7b0b Mon Sep 17 00:00:00 2001 From: "deepsource-autofix[bot]" <62050782+deepsource-autofix[bot]@users.noreply.github.com> Date: Sun, 23 Feb 2025 14:07:12 +0000 Subject: [PATCH] refactor: remove unused imports An object has been imported but is not used anywhere in the file. It should either be used or the import should be removed. --- src/swmath2swh/restApi_software_Json.py | 2 -- src/swmath2swh/staging_archival.py | 1 - 2 files changed, 3 deletions(-) diff --git a/src/swmath2swh/restApi_software_Json.py b/src/swmath2swh/restApi_software_Json.py index 62fcee55..01948d91 100644 --- a/src/swmath2swh/restApi_software_Json.py +++ b/src/swmath2swh/restApi_software_Json.py @@ -1,8 +1,6 @@ import json import requests - -from swmath2swh.swhid import parse_csv_to_dict from zbmath_rest2oai.getAsXml import add_references_to_software # Main function to handle the API request, CSV parsing, and JSON modification diff --git a/src/swmath2swh/staging_archival.py b/src/swmath2swh/staging_archival.py index 1ed8e025..50191262 100644 --- a/src/swmath2swh/staging_archival.py +++ b/src/swmath2swh/staging_archival.py @@ -1,5 +1,4 @@ import requests -import json import csv import os import subprocess