Skip to content
This repository was archived by the owner on Feb 5, 2026. It is now read-only.

Add autosync-before-run, --sync and --no-sync arguments to rye test and rye run (Regular sync mode)#1005

Open
khvn26 wants to merge 2 commits into
astral-sh:mainfrom
khvn26:feat/cli-test-autosync-regular-syncmode
Open

Add autosync-before-run, --sync and --no-sync arguments to rye test and rye run (Regular sync mode)#1005
khvn26 wants to merge 2 commits into
astral-sh:mainfrom
khvn26:feat/cli-test-autosync-regular-syncmode

Conversation

@khvn26

@khvn26 khvn26 commented Apr 9, 2024

Copy link
Copy Markdown

This PR adds:

  • --sync/--no-sync flag arguments to run and test commands. They control whether Rye should install project dependencies prior to executing either command.
  • sync-before-run global configuration flag that controls the same thing.

Closes #886.

@khvn26 khvn26 changed the title Add autosync-before-run, --sync and --no-sync arguments to test (Regular sync mode) Add autosync-before-run, --sync and --no-sync arguments to rye test and rye run (Regular sync mode) Apr 9, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add autosync(and --sync/--no-sync ) to rye run

1 participant