Fix linter issues: specify exception type and use type parameters

This commit is contained in:
Ashwin Bharambe 2025-10-05 18:13:09 -07:00
parent 2d87a055e1
commit 6be4cf7d18
7 changed files with 18 additions and 54 deletions

View file

@ -71,9 +71,7 @@ def test_mixed_backend_types_allowed():
config = PersistenceConfig(
backends={
"kvstore": SqliteKVStoreConfig(db_path="/tmp/kv.db"),
"sqlstore": PostgresSqlStoreConfig(
user="test", password="test", host="localhost", db="test"
),
"sqlstore": PostgresSqlStoreConfig(user="test", password="test", host="localhost", db="test"),
},
stores=StoresConfig(
metadata=StoreReference(backend="kvstore"),