Skip to content

Commit

Permalink
style(tests): update imports and add noqa comment for unused variable
Browse files Browse the repository at this point in the history
  • Loading branch information
pwwang committed Jan 25, 2025
1 parent 5ba283f commit bf3917d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tests/test_proc.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ def test_ignore_input_data_of_start_proc(caplog, pipen):
def test_proc_wasted_input_columns(caplog, pipen):
proc1 = Proc.from_proc(NormalProc, input_data=[1])
proc2 = Proc.from_proc(NormalProc, input_data=[1])
proc3 = Proc.from_proc(NormalProc, requires=[proc1, proc2])
proc3 = Proc.from_proc(NormalProc, requires=[proc1, proc2]) # noqa: F841
pipen.set_starts(proc1, proc2).run()
assert "Wasted 1 column" in caplog.text

Expand Down
2 changes: 1 addition & 1 deletion tests/test_template.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import pytest

from pipen.template import *
from pipen.template import get_template_engine
from pipen.template import NoSuchTemplateEngineError


Expand Down

0 comments on commit bf3917d

Please sign in to comment.