Skip to content

Commit

Permalink
Apply ruff fix
Browse files Browse the repository at this point in the history
  • Loading branch information
mrchtr committed Jun 26, 2023
1 parent 141c1f8 commit b9caff5
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
"""Unit test for language filter component"""
"""Unit test for language filter component."""
import pandas as pd

from components.language_filter.src.main import LanguageFilterComponent
from fondant.component_spec import ComponentSpec

Expand Down Expand Up @@ -28,6 +29,7 @@ def test_run_component_test():
assert len(dataframe) == 1
assert dataframe.loc[0]["text"] == "Das hier ist ein Satz in deutscher Sprache"


def test_run_component_test_filter_out_all():
"""Test language filter component."""
# Given: Dataframe with text in different languages
Expand Down

0 comments on commit b9caff5

Please sign in to comment.