-
-
Notifications
You must be signed in to change notification settings - Fork 143
Test ty on the CI #1222
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
Comments
It’s been on my radar for a while since it is likely to get a lot of traction as ruff did. |
https://github.com/pandas-dev/pandas-stubs/actions/runs/15123998412/job/42512468714?pr=1224 |
https://github.com/pandas-dev/pandas-stubs/actions/runs/15124251567/job/42513218163?pr=1224 |
Thank you for demonstrating the impact! Seems like we should wait quite a bit :) |
FWIW I have also experimented with
for the following line: So yes those are super interesting yet do not support pandas very well. |
What might be worth doing for both those projects is to suggest that they test their projects on Both |
Opened two issues on ty and pyrefly, we will see which insights they can add, in the mean time I will add a step in the poe scripts to run it by hand like we do for |
@Dr-Irv we are running Pyrefly on both pandas and pandas-stubs as part of our CI |
I did a search for |
@Dr-Irv ah, it's not open sourced right now because it logs the errors to an internal database. The way we set it up is essentially a fork of mypy primer w/ additional projects, that only runs on the current commit. We plan to eventually open source that part of the CI and move to using mypy primer directly, but we haven't gotten to it yet.
I'll keep this in mind, thanks! I think some of the noise you're seeing is that imports aren't being understood correctly out of the box. Based on my own local testing, import failures + bad specialization (because type vars weren't imported) account for around 75% of the errors I see. |
If ty becomes as popular as ruff, it would be good to test against ty on the CI.
Since ty is still in an alpha stage, this should at most be an optional check for now.
The text was updated successfully, but these errors were encountered: