RightTyper to Generate Types

RightTyper to Generate Types

December 31, 2024

I heard about this on Python Bytes. RightTyper is a tool that can generate types for your function arguments and return values. You can use it with pytest according to the documentation:

python3 -m righttyper -m pytest --continue-on-collection-errors /your/test/dir

I can see using this for the projects where I started typing but not completely and use RightTyper to provide some hints on what I should use to fill in the types.