Skip to content

Commit eda64cd

Browse files
committed
remove uv.lock and add tests tp mypy checks
1 parent 16f6200 commit eda64cd

File tree

3 files changed

+4
-1255
lines changed

3 files changed

+4
-1255
lines changed

.pre-commit-config.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,12 +48,14 @@ repos:
4848
rev: v1.11.2
4949
hooks:
5050
- id: mypy
51-
files: ^dataframe_expectations/.*\.py$
51+
files: ^(dataframe_expectations|tests)/.*\.py$
5252
args: [--config-file, ./pyproject.toml]
5353
additional_dependencies: [
5454
types-tabulate,
5555
pandas-stubs,
5656
pyspark-stubs,
5757
types-PyYAML,
58+
pytest,
59+
pytest-cov,
5860
]
5961
stages: [pre-commit, manual]

dataframe_expectations/expectations/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
from pyspark.sql.connect.dataframe import DataFrame as PySparkConnectDataFrame
1010
except ImportError:
1111
# Fallback for older PySpark versions that don't have connect
12-
PySparkConnectDataFrame = None
12+
PySparkConnectDataFrame = None # type: ignore[misc,assignment]
1313

1414
from dataframe_expectations import DataFrameLike, DataFrameType
1515
from dataframe_expectations.result_message import (

0 commit comments

Comments
 (0)