-
-
Notifications
You must be signed in to change notification settings - Fork 234
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
[ENH] Type hints #286
Comments
Yes, this is absolutely on the list of things that I'd like to get done. All new parts of FastF1 are already written with type hints. And older code should get type hints as well. |
Could you take a look at draft pr #287 @theOehrly ? I think it should add a lot, though I went through quite quickly, and if I'm on the right track, I'll go through more comprehensively. |
This is at least mostly complete, if it is fully satisfied by #287, this can be closed. |
I'll leave it open for now as a general reminder, and there are still some places that might need improvement. |
I can work on this. What are some parts of the library that still need type hints added? |
Large parts of FastF1 have type hints now. But there are some places throughout where they are still missing. I can't narrow it down really. |
although i haven't tested |
Proposed new feature or change:
When using the library, it is hard to either manually mark things as certain types, as the data classes aren't easily exposed, and the methods don't say what type they return, so ides have problems with seeing what methods are available for an object.
The text was updated successfully, but these errors were encountered: