Skip to content

Commit

Permalink
Fix lint error
Browse files Browse the repository at this point in the history
  • Loading branch information
takuseno committed Oct 18, 2024
1 parent d491b0f commit f5b8f27
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions tests/models/test_builders.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# pylint: disable=not-an-iterable

from typing import Sequence

import numpy as np
Expand Down Expand Up @@ -174,7 +176,7 @@ def test_create_discrete_q_function(

# check share_encoder
encoder = q_funcs[0].encoder
for q_func in list(q_funcs.modules())[1:]:
for q_func in q_funcs[1:]:
if share_encoder:
assert encoder is q_func.encoder
else:
Expand Down Expand Up @@ -215,7 +217,7 @@ def test_create_continuous_q_function(

# check share_encoder
encoder = q_funcs[0].encoder
for q_func in list(q_funcs.modules())[1:]:
for q_func in q_funcs[1:]:
if share_encoder:
assert encoder is q_func.encoder
else:
Expand Down

0 comments on commit f5b8f27

Please sign in to comment.