You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I just began generating stubs for PyMySQL. I auto-generated the stuff via mypy/stubgen.py based on Python 3.5 and afterwards modified the .pyi files manually so that mypy doesn't return errors when type checking my small project.
Since I am new to all this I would be glad to hear some feedback about the work and if there's an option to get this included in future versions of typeshed. Moreover I invite everybody to help me to improve the stubs, especially since it's my first contribution.
Please make a PR for the typeshed repo that adds your stubs to the third_party tree. Depending on whether your stubs are for Python 2, Python 3, or both, they should go into third_party/2.7, third_party/3, or third_party/2and3. Make sure your PR states that it fixes this issue.
Activity
gvanrossum commentedon Oct 25, 2016
To start, we'd like to hear from the original project's authors. Read here: https://github.com/python/typeshed#third_party
jhagerer commentedon Oct 26, 2016
I got a permission from here. So what's the next step then?
gvanrossum commentedon Oct 26, 2016
Please make a PR for the typeshed repo that adds your stubs to the third_party tree. Depending on whether your stubs are for Python 2, Python 3, or both, they should go into third_party/2.7, third_party/3, or third_party/2and3. Make sure your PR states that it fixes this issue.
Adding PyMySQL for Python 3
JelleZijlstra commentedon Jul 2, 2017
third_party/2and3/pymysqlexists now.[typing-extensions] Simple implementation for IntVar (python#631)
Reduce frequency of pre-commit autoupdate PRs (python#631)