Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,5 +33,5 @@ jobs:
with:
python-version: ${{ matrix.python-version }}
- run: pip install -e ".[dev]"
- run: pytest -v
- run: python -m pytest -v --tb=short
- run: skilldiff demo
3 changes: 2 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,8 @@ packages = ["skilldiff"]
[tool.pytest.ini_options]
testpaths = ["tests"]
asyncio_mode = "auto"
addopts = "-q"
asyncio_default_fixture_loop_scope = "function"
addopts = "-q --tb=short"
pythonpath = ["."]

[tool.ruff]
Expand Down
6 changes: 6 additions & 0 deletions skilldiff/__main__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
"""Allow `python -m skilldiff`."""

from skilldiff.main import app

if __name__ == "__main__":
app()
1 change: 1 addition & 0 deletions tests/test_gemini_history.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,4 +49,5 @@ def test_messages_to_gemini_contents_replays_raw_model_content() -> None:
]
)
assert contents[1] is model_content
assert contents[2].parts is not None
assert contents[2].parts[0].function_response is not None
Loading