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

Type hints for Python module #336

Closed
ChristopherRabotin opened this issue Oct 14, 2024 · 3 comments · Fixed by #345
Closed

Type hints for Python module #336

ChristopherRabotin opened this issue Oct 14, 2024 · 3 comments · Fixed by #345

Comments

@ChristopherRabotin
Copy link
Member

Maintenance task description

Using the work from nyx-space/hifitime#335, add type hints in the Python module of ANISE.

Scope of work

This task requires adding :type param: PythonType and :rtype: PythonType2 to all of the functions available in Python.

Priority

Must be done after migrating to hifitime 4.0.0 since it provides the relevant Python documentation.

@translunar
Copy link

I want to +1 this. We absolutely can't use this module at my workplace if there are no typehints / pyi stubs.

@translunar
Copy link

To be clear, you're talking about pyi stubs, right?

@ChristopherRabotin
Copy link
Member Author

That's correct. This ticket will automatically create an anise.pyi file similar to the newly added one in hifitime.

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 a pull request may close this issue.

2 participants