khornberg / octokitpy-routes

octokit routes -> package managers updates
MIT License
1 stars 1 forks source link

Generated type stubs #201

Open Mause opened 2 years ago

Mause commented 2 years ago

I'm not sure if this should be here, or in https://github.com/khornberg/octokit.py, but generated .pyi stubs would be amazing for this library

khornberg commented 2 years ago

What is a .pyi stub?

Mause commented 2 years ago

They're a way for programmers to declare type annotations outside of the actual code (if you're familiar with the type annotations introduced in python 3.6+)

This is a good summary: https://peps.python.org/pep-0484/#stub-files