Skip to content

Commit 9838d57

Browse files
committed
update project configuration and dependencies
1 parent 979c86d commit 9838d57

File tree

5 files changed

+367
-43
lines changed

5 files changed

+367
-43
lines changed

.github/workflows/python-package.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,9 @@ jobs:
3030
- name: Install dependencies
3131
run: |
3232
pdm install --group dev
33-
- name: Lint with flake8
33+
- name: Lint with ruff
3434
run: |
35-
pdm run flake8 src tests --count --select=E9,F63,F7,F82 --show-source --statistics
36-
pdm run flake8 src tests --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
35+
pdm run ruff check src tests --statistics
3736
- name: Test with pytest
3837
run: |
3938
pdm run pytest

.github/workflows/python-publish.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@ jobs:
2020

2121
steps:
2222
- uses: actions/[email protected]
23+
with:
24+
fetch-depth: 0
2325
- name: Set up Python
2426
uses: actions/[email protected]
2527
with:

AGENTS.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ The installable package remains under `src/compendiumscribe`. `cli.py` now expos
77
- `pdm install --dev` installs runtime and dev dependencies (ensure `PDM_HOME` points to a writable path if running in a sandbox).
88
- `pdm run create-compendium "Cell biology"` exercises the CLI; add `--output path.xml`, `--no-background`, or `--max-tool-calls N` as needed.
99
- `pdm run pytest` is mandatory before calling work complete. Tests already rely on stubs, so they are fast and offline-capable. If `pdm` cannot write logs, set `PDM_HOME=.pdm_home` and retry.
10-
- `pdm run flake8 src tests` keeps style and linting consistent; do not treat work as finished until this passes cleanly.
10+
- `pdm run ruff check src tests` keeps style and linting consistent; do not treat work as finished until this passes cleanly.
1111
- `pdm build` produces the wheel and sdist when preparing a release.
1212

1313
## Coding Style & Naming Conventions

0 commit comments

Comments
 (0)