这是indexloc提供的服务,不要输入任何密码
Skip to content

Conversation

@rolandwalker
Copy link
Contributor

Description

Besides adding hints, use an isinstance() check instead of a try block when operating on the Union type variable style_object.

Checklist

  • I've added this contribution to the changelog.md.
  • I've added my name to the AUTHORS file (or it's already there).
  • I ran uv run ruff check && uv run ruff format to lint and format the code.

Besides adding hints, use an isinstance() check instead of a try block
when operating on the Union type variable "style_object".
@rolandwalker rolandwalker self-assigned this Aug 16, 2025
@rolandwalker rolandwalker merged commit e63005e into main Aug 16, 2025
8 checks passed
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.

2 participants