Prepare wikiq for release: fixes, dependency cleanup, and packaging #2

Open
mako wants to merge 33 commits from release_review into jsonl-output
2 changed files with 6 additions and 3 deletions
Showing only changes of commit 77f185888f - Show all commits

View File

@@ -86,8 +86,7 @@ The most commonly useful options (`wikiq --help` describes them all):
- `-RP REGEX -RPl LABEL` searches revision text for a regular expression
and reports the matches in a column named by the label; repeat the
pair for multiple patterns. `-CP`/`-CPl` do the same for edit
summaries. Adding `-RPc` or `-CPc` reports the number of matches
instead of the matched text.
summaries.
- `--resume` continues an interrupted run from the last complete line of
an existing JSONL output file. Combined with `--time-limit HOURS`,
this supports processing very large dumps in bounded chunks.

View File

@@ -1,2 +1,6 @@
#!/usr/bin/env bash
uv run pytest test/test_wiki_diff_matcher.py --capture=tee-sys
# Run the test suite from the repository root, which some tests require
# because they open fixture files by relative path.
set -euo pipefail
cd "$(dirname "$0")"
exec python -m pytest test/ "$@"