Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 7 additions & 2 deletions scripts/regenerate_sdk.sh
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,12 @@ npx --yes "$SDK_GENERATOR_SPEC" \
# the repo's style config. The generator emits deliberately plain
# Python; this brings it in line with what CI expects.
log "Applying ruff lint fixes + format"
uv run ruff check --fix --fix-only src tests >/dev/null
uv run ruff format src tests >/dev/null
# cd into the repo so `uv run` discovers this repo's pyproject.toml
# even when the script is invoked with a different CWD.
(
cd "$REPO_ROOT"
uv run ruff check --fix --fix-only src tests >/dev/null
uv run ruff format src tests >/dev/null
)

log "Done. Review the diff and commit, or re-run this script after the spec is updated upstream."
2 changes: 1 addition & 1 deletion src/archastro/platform/__init__.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Copyright (c) 2026 ArchAstro Inc. All Rights Reserved.
# This file is auto-generated by @archastro/sdk-generator. Do not edit.
# Content hash: 2f93d08a58dd
# Content hash: 02004325aba1

from importlib.metadata import version as _pkg_version

Expand Down
Loading