style: Fix ruff linting errors

- Fix bare except in chroma.py
- Fix whitespace issues in test_cloud_storage.py
- Auto-fixes from ruff --fix
This commit is contained in:
yusyus
2026-02-08 14:31:01 +03:00
parent 7a459cb9cb
commit ec512fe166
2 changed files with 14 additions and 15 deletions

View File

@@ -287,7 +287,7 @@ class ChromaAdaptor(SkillAdaptor):
# Try to get existing collection
collection = client.get_collection(name=collection_name)
print(f" Using existing collection: {collection_name}")
except:
except Exception:
try:
# Create new collection
metadata = {"hnsw:space": distance_function}