Skip to content

Commit 4f70c4b

Browse files
committed
Restore NLTK/TextBlob corpus downloads in tox commands_pre
The commands_pre section with punkt_tab and textblob corpus downloads was accidentally dropped during the Poetry-to-uv migration. Without these corpora, the summary evaluator tests fail with MissingCorpusError.
1 parent f9c8666 commit 4f70c4b

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

tox.ini

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@ skipsdist = true
44

55
[testenv]
66
runner = uv-venv-runner
7+
commands_pre =
8+
# TODO: This can be removed once NLTK merges https://github.com/sloria/TextBlob/pull/469
9+
python -m nltk.downloader punkt_tab
10+
python -m textblob.download_corpora
711
commands =
812
pytest {posargs:tests}
913
passenv =

0 commit comments

Comments
 (0)