From 31aecc8c4fab30eb4dba025649b5ebbb93ad2969 Mon Sep 17 00:00:00 2001 From: Minura Punchihewa Date: Fri, 11 Oct 2024 20:17:53 +0530 Subject: [PATCH] fixed lint issues Signed-off-by: Minura Punchihewa --- kedro-datasets/tests/databricks/conftest.py | 1 - kedro-datasets/tests/databricks/test_base_table_dataset.py | 2 -- .../tests/databricks/test_external_table_dataset.py | 4 +++- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/kedro-datasets/tests/databricks/conftest.py b/kedro-datasets/tests/databricks/conftest.py index 336e8168d..6984faabb 100644 --- a/kedro-datasets/tests/databricks/conftest.py +++ b/kedro-datasets/tests/databricks/conftest.py @@ -13,7 +13,6 @@ from pyspark.sql import SparkSession from pyspark.sql.types import IntegerType, StringType, StructField, StructType - DELTA_VERSION = importlib_metadata.version("delta-spark") diff --git a/kedro-datasets/tests/databricks/test_base_table_dataset.py b/kedro-datasets/tests/databricks/test_base_table_dataset.py index ac0c0cc27..49f2283a1 100644 --- a/kedro-datasets/tests/databricks/test_base_table_dataset.py +++ b/kedro-datasets/tests/databricks/test_base_table_dataset.py @@ -1,5 +1,3 @@ -import os - import pandas as pd import pytest from kedro.io.core import DatasetError, Version, VersionNotFoundError diff --git a/kedro-datasets/tests/databricks/test_external_table_dataset.py b/kedro-datasets/tests/databricks/test_external_table_dataset.py index e838c7bd1..369587899 100644 --- a/kedro-datasets/tests/databricks/test_external_table_dataset.py +++ b/kedro-datasets/tests/databricks/test_external_table_dataset.py @@ -2,7 +2,9 @@ from kedro.io.core import DatasetError from pyspark.sql import DataFrame -from kedro_datasets_experimental.databricks.external_table_dataset import ExternalTableDataset +from kedro_datasets_experimental.databricks.external_table_dataset import ( + ExternalTableDataset, +) class TestExternalTableDataset: