Skip to content

Commit

Permalink
Make mypy happy again
Browse files Browse the repository at this point in the history
  • Loading branch information
tyler-hoffman committed Jan 14, 2025
1 parent 924e6a0 commit 8b68e7c
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/integration-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:
run: python -m pip install --upgrade pip

- name: Install Library
run: pip install ".[tests]"
run: pip install ".[postgresql,tests]"

- name: Setup
run: |
Expand Down
8 changes: 5 additions & 3 deletions tests/integration/test_validate_dataframe_operator.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
from typing import Callable
from __future__ import annotations

from typing import TYPE_CHECKING, Callable

import pandas as pd
import pytest
from typing import TYPE_CHECKING
from great_expectations import ExpectationSuite
from great_expectations.expectations import ExpectColumnValuesToBeInSet

Expand All @@ -13,7 +14,6 @@

if TYPE_CHECKING:
from pyspark.sql import SparkSession
from pyspark.sql.connect.dataframe import DataFrame as SparkConnectDataFrame
from pyspark.sql.connect.session import SparkSession as SparkConnectSession


Expand Down Expand Up @@ -90,6 +90,8 @@ def configure_dataframe() -> pyspark.DataFrame:

@pytest.mark.spark_connect_integration
def test_spark_connect(self, spark_connect_session: SparkConnectSession) -> None:
from pyspark.sql.connect.dataframe import DataFrame as SparkConnectDataFrame

column_name = "col_A"
task_id = f"test_spark_{rand_name()}"

Expand Down
1 change: 0 additions & 1 deletion tests/unit/test_validate_batch_operator.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
from great_expectations.expectations import (
ExpectColumnValuesToBeInSet,
)
from pytest_mock import MockerFixture

from great_expectations_provider.operators.validate_batch import GXValidateBatchOperator

Expand Down

0 comments on commit 8b68e7c

Please sign in to comment.