Skip to content

Commit 5af9148

Browse files
committed
Fix formatting after rebase
1 parent 3e4e3f1 commit 5af9148

3 files changed

Lines changed: 6 additions & 7 deletions

File tree

sql_redis/translator.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99
SQL_TO_REDIS_DATE_FUNCTIONS,
1010
Condition,
1111
GeoDistanceCondition,
12-
ParsedQuery,
1312
SQLParser,
1413
)
1514
from sql_redis.query_builder import QueryBuilder

tests/test_redis_queries.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -278,9 +278,9 @@ def test_between_and_greater_than(
278278
row_dict = dict(zip(row[::2], row[1::2]))
279279
if "price" in row_dict:
280280
price = float(row_dict["price"])
281-
assert (
282-
100 <= price <= 500
283-
), f"Price {price} should be between 100 and 500"
281+
assert 100 <= price <= 500, (
282+
f"Price {price} should be between 100 and 500"
283+
)
284284

285285

286286
class TestTagFieldMultiValueSearch:

tests/test_sql_queries.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -248,9 +248,9 @@ def test_in_clause_with_or(self, executor: Executor, products_data: str):
248248
WHERE tags IN ('sale', 'featured') OR category = 'electronics'
249249
"""
250250
)
251-
assert (
252-
len(result.rows) >= 1
253-
), "Should return products matching tag OR conditions"
251+
assert len(result.rows) >= 1, (
252+
"Should return products matching tag OR conditions"
253+
)
254254

255255
def test_tag_in_clause_only(self, executor: Executor, products_data: str):
256256
"""IN clause on TAG field without OR."""

0 commit comments

Comments
 (0)