Skip to content
Merged
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
2 changes: 1 addition & 1 deletion .github/workflows/sync_typeshed.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ jobs:
- name: Push the changes
id: commit
if: ${{ success() }}
run: git push --force --set-upstream origin "${UPSTREAM_BRANCH}"
run: git -C ruff push --force --set-upstream origin "${UPSTREAM_BRANCH}"

# Checkout the branch created by the sync job,
# and sync all docstrings available on Windows that are not available on Linux.
Expand Down
4 changes: 2 additions & 2 deletions scripts/codemod_docstrings.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@

set -eu

docstring_adder="git+https://github.com/astral-sh/docstring-adder.git@7f350b03ee83dd44ebd8010228ad3dfca34a7887"
docstring_adder="git+https://github.com/astral-sh/docstring-adder.git@513b650c8c6b0f1bb6f12d8f79da9294614214e4"
stdlib_path="./crates/ty_vendored/vendor/typeshed/stdlib"

for python_version in 3.14 3.13 3.12 3.11 3.10 3.9
do
uvx --python="$python_version" --force-reinstall --from="${docstring_adder}" add-docstrings --stdlib-path="${stdlib_path}"
PYTHONUTF8=1 uvx --python="$python_version" --force-reinstall --from="${docstring_adder}" add-docstrings --stdlib-path="${stdlib_path}"
done
Loading