Skip to content

Typehint clistyle.py#1321

Merged
rolandwalker merged 1 commit into
mainfrom
RW/typehint-clistyle-py
Aug 16, 2025
Merged

Typehint clistyle.py#1321
rolandwalker merged 1 commit into
mainfrom
RW/typehint-clistyle-py

Conversation

@rolandwalker

Copy link
Copy Markdown
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
@rolandwalker rolandwalker deleted the RW/typehint-clistyle-py branch January 21, 2026 15:19
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