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 @@ -27,5 +27,5 @@ jobs:
python-version: ${{ matrix.python-version }}
enable-cache: true
cache-dependency-glob: "uv.lock"
- run: uv sync --frozen --extra dev --extra archive
- run: uv sync --frozen --group dev --extra archive
- run: uv run pytest tests/ -q
2 changes: 1 addition & 1 deletion .github/workflows/mutation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
with:
enable-cache: true
cache-dependency-glob: "uv.lock"
- run: uv sync --frozen --extra dev --extra archive
- run: uv sync --frozen --group dev --extra archive
- name: Install mutmut
run: uv pip install mutmut
- name: Run mutation tests
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
with:
fetch-depth: 0 # full history so --generate-notes can diff against the prior tag
- uses: astral-sh/setup-uv@v5
- run: uv sync --frozen --extra dev --extra archive
- run: uv sync --frozen --group dev --extra archive
- run: uv run pytest tests/ -q
- run: uv build
- uses: actions/attest-build-provenance@v1
Expand Down
17 changes: 6 additions & 11 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -63,11 +63,6 @@ aelf-search-tool-hook = "aelfrice.hook_search_tool:main"
aelf-session-start-hook = "aelfrice.hook:main_session_start"

[project.optional-dependencies]
dev = [
"pytest>=8.0",
"pytest-timeout>=2.3",
"pyright>=1.1.409",
]
mcp = [
"fastmcp>=0.2.0",
]
Expand Down Expand Up @@ -129,13 +124,11 @@ reportMissingTypeStubs = false
known_first_party = ["aelfrice", "benchmarks"]

[tool.deptry.per_rule_ignores]
# DEP002: declared but not imported by src/. These are dev/test/bench-only
# but live in [project.dependencies] for now; reorganizing into PEP 735
# groups is tracked as a follow-up issue.
# DEP002: declared in `[project.optional-dependencies.benchmarks]` extras
# but not imported by src/aelfrice. They are imported only by
# `benchmarks/` adapters; the extras stay because `pip install
# -e ".[benchmarks]"` is a documented contract (benchmarks/README.md).
DEP002 = [
"pytest",
"pytest-timeout",
"pyright",
"nltk",
"tiktoken",
"datasets",
Expand All @@ -150,5 +143,7 @@ DEP003 = ["tomli"]

[dependency-groups]
dev = [
"pytest>=8.0",
"pytest-timeout>=2.3",
"pyright>=1.1.409",
]
18 changes: 8 additions & 10 deletions uv.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading