astral-sh / rye

a Hassle-Free Python Experience
https://rye.astral.sh
MIT License
13.82k stars 467 forks source link

`rye test -i` not working #1217

Open piotryordanov opened 4 months ago

piotryordanov commented 4 months ago

Steps to Reproduce

rye test -i

Expected Result

Rye test by excluding dir

Actual Result

❯ rye test -i docker
error: unexpected argument found

Version Info

0.36.0

Stacktrace

No response

nazq commented 4 months ago

It looks like when this PR went the --ignore option was documented but the implementation was not added. https://github.com/astral-sh/rye/pull/847. Looks pretty straightforward too add

leoduret commented 3 months ago

Indeed the PR was taken over and differs from the original, you can still ignore directories in extra args with rye test -- --ignore=directory