Skip to content

Add pyupgrade rules to Ruff config#465

Merged
xingyaoww merged 8 commits intomainfrom
xw/pyupgrade
Sep 24, 2025
Merged

Add pyupgrade rules to Ruff config#465
xingyaoww merged 8 commits intomainfrom
xw/pyupgrade

Conversation

@xingyaoww
Copy link
Copy Markdown
Collaborator

@xingyaoww xingyaoww commented Sep 24, 2025

These will do all sort of stuff, including:

convert all typing.Optional[T] to T | None,
convert typing.Union[A, B] to A | B,
replace typing.List[T] / typing.Dict[K, V] with list[T] / dict[K, V].

@xingyaoww xingyaoww enabled auto-merge (squash) September 24, 2025 14:11
@xingyaoww xingyaoww merged commit de5edb9 into main Sep 24, 2025
14 checks passed
@xingyaoww xingyaoww deleted the xw/pyupgrade branch September 24, 2025 14:47
@github-actions
Copy link
Copy Markdown
Contributor

Agent Server image for this PR

Pull (multi-arch manifest):

docker pull ghcr.io/all-hands-ai/agent-server:36e74de

Run:

docker run -it --rm \
  -p 8000:8000 \
  --name agent-server-36e74de \
  ghcr.io/all-hands-ai/agent-server:36e74de

This tag is a multi-arch manifest (amd64/arm64). Your client pulls the right arch automatically.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant