diff --git a/scripts/format b/scripts/format index 4cc7812..82d45e6 100755 --- a/scripts/format +++ b/scripts/format @@ -25,6 +25,7 @@ if [[ -z ${VIRTUAL_ENV:-} ]]; then fi log_header "Running Ruff format" +export UV_PRERELEASE=allow uv run --active ruff format . # Clean up any accidental package installation from uv run diff --git a/scripts/lint-check b/scripts/lint-check index 4a88b1f..79dc4e7 100755 --- a/scripts/lint-check +++ b/scripts/lint-check @@ -25,6 +25,7 @@ if [[ -z ${VIRTUAL_ENV:-} ]]; then fi log_header "Checking code format" +export UV_PRERELEASE=allow uv run --active ruff format . --check log_header "Checking code with Ruff" diff --git a/scripts/lint-fix b/scripts/lint-fix index 830ced8..5c97ba7 100755 --- a/scripts/lint-fix +++ b/scripts/lint-fix @@ -25,6 +25,7 @@ if [[ -z ${VIRTUAL_ENV:-} ]]; then fi log_header "Running Ruff check with auto-fix" +export UV_PRERELEASE=allow uv run --active ruff check . --fix # Clean up any accidental package installation from uv run