GispoCoding / cookiecutter-qgis-plugin

A QGIS Plugin template to be set up with Cookiecutter
MIT License
22 stars 5 forks source link

Modernize template #41

Closed LKajan closed 7 months ago

LKajan commented 8 months ago

Main changes:

Resolves #29

JuhoErvasti commented 7 months ago

Not sure if this is caused by anything in the implementation itself, but on Ubuntu in VS Code mypy is reporting missing library stubs in the plugin.py file for all imports from the qgis package.

Skipping analyzing "qgis.core": module is installed, but missing library stubs or py.typed markerMypy[import-untyped]

Similar error in build.py:

Cannot find implementation or library stub for module named "qgis_plugin_tools.infrastructure.plugin_maker"
LKajan commented 7 months ago

Not sure if this is caused by anything in the implementation itself, but on Ubuntu in VS Code mypy is reporting missing library stubs in the plugin.py file for all imports from the qgis package.

Skipping analyzing "qgis.core": module is installed, but missing library stubs or py.typed markerMypy[import-untyped]

Similar error in build.py:

Cannot find implementation or library stub for module named "qgis_plugin_tools.infrastructure.plugin_maker"

I ignored those missing type errors on qgis and osgeo package. And for qgis_plugin_tools all typing errors completly.