Skip to content

Commit

Permalink
chore: satisfy lint
Browse files Browse the repository at this point in the history
Signed-off-by: Jens Peder Meldgaard <[email protected]>
  • Loading branch information
JenspederM committed Oct 28, 2024
1 parent ba197b5 commit 464f7b6
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 4 deletions.
1 change: 1 addition & 0 deletions tests/integration/test_plugin.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
from __future__ import annotations

import yaml

from kedro_databricks.plugin import commands


Expand Down
9 changes: 5 additions & 4 deletions tests/unit/test_bundle.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
import copy

from kedro.pipeline import Pipeline, node

from kedro_databricks.bundle import BundleController
from kedro_databricks.utils import require_databricks_run_script

Expand Down Expand Up @@ -332,7 +333,7 @@ def test_save_resoureces(metadata):
assert resource_dir.is_dir(), "resouces is not a directory"

project_resources = resource_dir.joinpath(f"{metadata.package_name}.yml")
assert project_resources.exists(), (
"Failed to save project resources, %s"
% ",".join([str(p) for p in resource_dir.iterdir()])
)
project_files = ",".join([str(p) for p in resource_dir.iterdir()])
assert (
project_resources.exists()
), f"Failed to save project resources, {project_files}"
1 change: 1 addition & 0 deletions tests/unit/test_deploy.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
from pathlib import Path

import pytest

from kedro_databricks.deploy import (
build_project,
go_to_project,
Expand Down
1 change: 1 addition & 0 deletions tests/unit/test_init.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

import pytest
import yaml

from kedro_databricks.init import NODE_TYPE_MAP, InitController
from kedro_databricks.utils import has_databricks_cli

Expand Down
1 change: 1 addition & 0 deletions tests/unit/test_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
import subprocess

import pytest

from kedro_databricks.utils import _is_null_or_empty, remove_nulls, run_cmd


Expand Down

0 comments on commit 464f7b6

Please sign in to comment.