fix: CI failures — update workflow for uv migration, fix lint and format
- Switch CI install step from `pip install -r requirements.txt` to `pip install -e ".[dev]"` since requirements.txt was removed - Add noqa: E402 to intentionally-late imports in conftest.py (HOME must be isolated before mempalace imports) - Remove unused KnowledgeGraph import in test_knowledge_graph.py - Apply ruff formatting to test files
This commit is contained in:
@@ -148,7 +148,9 @@ class TestZettelEncoding:
|
||||
class TestDecode:
|
||||
def test_decode_roundtrip(self):
|
||||
d = Dialect()
|
||||
encoded = "001|ALC+BOB|2025-01-01|test_title\nARC:journey\n001:ALC|memory_ai|\"test quote\"|0.9|joy"
|
||||
encoded = (
|
||||
'001|ALC+BOB|2025-01-01|test_title\nARC:journey\n001:ALC|memory_ai|"test quote"|0.9|joy'
|
||||
)
|
||||
decoded = d.decode(encoded)
|
||||
assert decoded["header"]["file"] == "001"
|
||||
assert decoded["arc"] == "journey"
|
||||
|
||||
Reference in New Issue
Block a user