Skip to content

Add ty as tool in pyproject.toml - #3964

Merged
kevinjqliu merged 1 commit into
apache:mainfrom
rambleraptor:add-ty-config
Sep 14, 2026
Merged

kevinjqliu merged 1 commit into
apache:mainfrom
rambleraptor:add-ty-config

Conversation

@rambleraptor

Copy link
Copy Markdown
Collaborator

Rationale for this change

mypy runs without the all extra dependencies (glares at pyarrow), so there's a bunch of type issues that mypy isn't finding. It's also very slow!

ty recently introduced pydantic support, so it's worth adding ty as a tool. This isn't part of the pre-commit, but it's already surfacing errors that mypy isn't finding. This is a great exploration to see if we can move away from mypy in the future.

Are these changes tested?

Just adding tool.

Are there any user-facing changes?

@kevinjqliu kevinjqliu left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@kevinjqliu
kevinjqliu added this pull request to the merge queue Sep 14, 2026
Merged via the queue into apache:main with commit 50f8b95 Sep 14, 2026
21 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