Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion pipelineprobe/connectors/dbt.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ def __init__(self, config: DbtConfig):
self.config = config

def get_models(self) -> List[DbtModel]:
project_dir = Path(self.config.project_dir)
manifest_path = Path(self.config.manifest_path)
run_results_path = Path(self.config.run_results_path)

Expand Down
7 changes: 2 additions & 5 deletions tests/test_cli.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
import os
import tempfile

from unittest.mock import patch
from typer.testing import CliRunner

from pipelineprobe.cli import app

runner = CliRunner()
Expand All @@ -28,9 +27,7 @@ def test_cli_audit_help():
assert "Run the PipelineProbe audit and generate a report" in result.stdout


import os
import tempfile
from unittest.mock import patch


def test_cli_audit_full():
with tempfile.TemporaryDirectory() as tmpdir:
Expand Down
3 changes: 1 addition & 2 deletions tests/test_connectors.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import json
import pytest
from unittest.mock import AsyncMock, patch, mock_open, MagicMock
from unittest.mock import patch, MagicMock

from pipelineprobe.config import WarehouseConfig, DbtConfig, AirflowConfig
from pipelineprobe.connectors.postgres import PostgresConnector
Expand Down
2 changes: 1 addition & 1 deletion tests/test_renderer.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
from datetime import timedelta

from pipelineprobe.renderer import ReportRenderer
from pipelineprobe.models import Issue, Dag, Task
from pipelineprobe.models import Issue

def test_render_html(tmp_path):
renderer = ReportRenderer(output_dir=str(tmp_path))
Expand Down
Loading