From b33719960356fc72f48ec3b4d244c76c9ef5c228 Mon Sep 17 00:00:00 2001 From: Meret Behrens Date: Mon, 9 Jan 2023 16:35:19 +0100 Subject: [PATCH] [fix] delete unused imports Signed-off-by: Meret Behrens --- src/spdx/parser/jsonlikedict/json_like_dict_parser.py | 1 - src/spdx/validation/creation_info_validator.py | 1 - tests/parser/jsonlikedict/test_dict_parsing_functions.py | 2 -- 3 files changed, 4 deletions(-) diff --git a/src/spdx/parser/jsonlikedict/json_like_dict_parser.py b/src/spdx/parser/jsonlikedict/json_like_dict_parser.py index 213f9da50..70334ff7f 100644 --- a/src/spdx/parser/jsonlikedict/json_like_dict_parser.py +++ b/src/spdx/parser/jsonlikedict/json_like_dict_parser.py @@ -8,7 +8,6 @@ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. -import json from typing import Dict from spdx.model.document import Document diff --git a/src/spdx/validation/creation_info_validator.py b/src/spdx/validation/creation_info_validator.py index f4bfc81ed..fc54740f6 100644 --- a/src/spdx/validation/creation_info_validator.py +++ b/src/spdx/validation/creation_info_validator.py @@ -9,7 +9,6 @@ # See the License for the specific language governing permissions and # limitations under the License. -import re from typing import List from spdx.model.document import CreationInfo diff --git a/tests/parser/jsonlikedict/test_dict_parsing_functions.py b/tests/parser/jsonlikedict/test_dict_parsing_functions.py index 30232e6ae..93b569362 100644 --- a/tests/parser/jsonlikedict/test_dict_parsing_functions.py +++ b/tests/parser/jsonlikedict/test_dict_parsing_functions.py @@ -8,7 +8,6 @@ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. -from datetime import datetime from unittest import TestCase import pytest @@ -18,7 +17,6 @@ from spdx.parser.error import SPDXParsingError from spdx.parser.jsonlikedict.dict_parsing_functions import json_str_to_enum_name, \ parse_field_or_no_assertion, parse_field_or_no_assertion_or_none -from spdx.datetime_conversions import datetime_from_str def test_json_str_to_enum():