Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: add type hints for literal strings #84

Merged
merged 6 commits into from
Jan 10, 2025
Merged

Conversation

yxlao
Copy link
Owner

@yxlao yxlao commented Jan 10, 2025

No description provided.

yxlao added 6 commits January 10, 2025 20:27
… io.py and metric.py to enforce valid input values and improve type safety
…vstack_images to enforce valid values

chore(image.py): update typing imports to include Literal for better type safety
…ameter in _TextRenderer to enforce valid font types and improve type safety
…e `Literal` for better type safety and clarity
…`multiline_alignment` parameters using Literal to improve type safety and clarity
@yxlao yxlao merged commit dd474ab into main Jan 10, 2025
10 checks passed
@yxlao yxlao deleted the yixing/refactor-types branch January 10, 2025 12:50
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