/kivy-stubs-pycharm

Kivy stubs generated by PyCharm

Primary LanguagePythonThe UnlicenseUnlicense

kivy-stubs-pycharm

Kivy stubs generated by PyCharm

Kivy version: 2.2.1

Usage with VSCode

To use this repository with VSCode, clone this repo and then add the /path/to/kivy-stubs-pycharm to settings.json under the "python.analysis.extraPaths" property.

// settings.json
{
// ...
"python.analysis.extraPaths": [
    "/path/to/kivy-stubs-pycharm",
]
}

Before

image

After

image

Troubleshooting

  • It's not working, what do I do?
    • DO NOT put /path/to/kivy-stubs-pycharm/kivy in settings.json as this will not work!
    • This was tested using PyLance and MyPy. Try those if you're having trouble.

Additional PyCharm Stubs

If you have more PyCharm stubs for Kivy than this repo, please make a pull request!