Skip to content

Refactor typing imports to use import typing as ty#236

Merged
Breakthrough merged 2 commits intomainfrom
typing-imports
Aug 22, 2025
Merged

Refactor typing imports to use import typing as ty#236
Breakthrough merged 2 commits intomainfrom
typing-imports

Conversation

@google-labs-jules
Copy link
Copy Markdown
Contributor

This change refactors all Python source files to use import typing as ty instead of from typing import .... This ensures a consistent style for using type hints throughout the project.

This commit standardizes the way the `typing` module is imported
across the codebase. All instances of `from typing import ...` have
been replaced with `import typing as ty`, and all type hints have
been updated to use the `ty` alias.

This change improves code consistency and readability.
This commit standardizes the way the `typing` module is imported
across the codebase. All instances of `from typing import ...` have
been replaced with `import typing as ty`, and all type hints have
been updated to use the `ty` alias.

This change improves code consistency and readability.

This commit also fixes linting and formatting issues identified by ruff.
@Breakthrough Breakthrough self-requested a review August 22, 2025 01:15
@Breakthrough Breakthrough marked this pull request as ready for review August 22, 2025 01:15
@Breakthrough Breakthrough merged commit c385994 into main Aug 22, 2025
29 checks passed
@Breakthrough Breakthrough deleted the typing-imports branch August 22, 2025 01:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant