Skip to content

Commit a38d2ab

Browse files
committed
Disable isort, in conflict with ruff
1 parent 2b44c1c commit a38d2ab

File tree

5 files changed

+17
-10
lines changed

5 files changed

+17
-10
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,13 +36,12 @@ jobs:
3636
run: |
3737
uv python install 3.12
3838
uv sync --all-extras --dev
39-
uv add --dev ruff isort mypy
39+
uv add --dev ruff mypy
4040
4141
- name: ⚙️ Run linters and formatters
4242
run: |
4343
uv run ruff check src/ tests/
4444
uv run ruff format --check src/ tests/
45-
uv run isort --check-only src/ tests/
4645
uv run mypy src/ --ignore-missing-imports
4746
4847

pyproject.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,6 @@ dev = [
5959
"bandit[toml]>=1.8.6",
6060
"black>=25.1.0",
6161
"coverage>=7.10.1",
62-
"isort>=6.0.1",
6362
"mypy>=1.17.0",
6463
"pytest>=8.4.1",
6564
"pytest-asyncio>=1.1.0",

tests/test_config.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,7 @@
77

88
import pytest
99

10-
from src.common.config import (REDIS_CFG, parse_redis_uri,
11-
set_redis_config_from_cli)
10+
from src.common.config import REDIS_CFG, parse_redis_uri, set_redis_config_from_cli
1211

1312

1413
class TestParseRedisURI:

tests/tools/test_hash.py

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,15 @@
66
import pytest
77
from redis.exceptions import RedisError
88

9-
from src.tools.hash import (get_vector_from_hash, hdel, hexists, hget, hgetall,
10-
hset, set_vector_in_hash)
9+
from src.tools.hash import (
10+
get_vector_from_hash,
11+
hdel,
12+
hexists,
13+
hget,
14+
hgetall,
15+
hset,
16+
set_vector_in_hash,
17+
)
1118

1219

1320
class TestHashOperations:

tests/tools/test_redis_query_engine.py

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,12 @@
1111
from redis.commands.search.query import Query
1212
from redis.exceptions import RedisError
1313

14-
from src.tools.redis_query_engine import (create_vector_index_hash,
15-
get_index_info, get_indexes,
16-
vector_search_hash)
14+
from src.tools.redis_query_engine import (
15+
create_vector_index_hash,
16+
get_index_info,
17+
get_indexes,
18+
vector_search_hash,
19+
)
1720

1821

1922
class TestRedisQueryEngineOperations:

0 commit comments

Comments
 (0)