Skip to content

Commit

Permalink
Fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
fealho committed Mar 5, 2025
1 parent 3cc88e8 commit 029406b
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions sdv/cag/inequality.py
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
"""FixedCombinations CAG pattern."""
"""Inequality CAG pattern."""

import numpy as np
import pandas as pd

from sdv._utils import _convert_to_timedelta, _create_unique_name
from sdv.cag._errors import PatternNotMetError
from sdv.cag._utils import _validate_table_and_column_names
from sdv.cag.base import BasePattern
from sdv.constraints.utils import (
from sdv.cag._utils import (
_validate_table_and_column_names,
cast_to_datetime64,
compute_nans_column,
get_datetime_diff,
match_datetime_precision,
revert_nans_columns,
)
from sdv.cag.base import BasePattern
from sdv.metadata import Metadata


Expand Down
2 changes: 1 addition & 1 deletion tests/integration/cag/test_inequality.py
Original file line number Diff line number Diff line change
Expand Up @@ -549,7 +549,7 @@ def test_inequality_pattern_date_less_than_timestamp_no_strict_boundaries():
def test_inequality_pattern_timestamp_less_than_date_no_strict_boundaries():
"""Test that the inequality pattern passes when timestamp is less than date.
This case evaluates the `Inequality` constraint with
This case evaluates the `Inequality` pattern with
`strict_boundaries=False`. Since `strict_boundaries` is set to `False`, we
assume that a date in the `DUE_DATE` column should be treated as the end of
the day, so there will be no violation if the `SUBMISSION_TIMESTAMP` is
Expand Down
2 changes: 1 addition & 1 deletion tests/unit/cag/test_inequality.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
"""Unit tests for FixedCombinations CAG pattern."""
"""Unit tests for Inequality CAG pattern."""

import re
from datetime import datetime
Expand Down

0 comments on commit 029406b

Please sign in to comment.