Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PR: Use static and classmethods for plugin get_description and get_icon in order to work with Spyder 6a2 #87

Merged
merged 1 commit into from
Sep 13, 2023

Conversation

rhkarls
Copy link
Contributor

@rhkarls rhkarls commented Sep 10, 2023

Description of Changes

This PR sets the get_description and get_icon methods in the plugin class to static and classmethod, following the SpyderPluginV2 in spyder.api.plugins for Spyder 6.

Fixes #86

Affirmation

By submitting this Pull Request or typing my (user)name below,
I affirm the Developer Certificate of Origin
with respect to all commits and content included in this PR,
and understand I am releasing the same under Spyder's MIT (Expat) license.

I certify the above statement is true and correct: @rhkarls

@jitseniesen
Copy link
Member

Hi, thanks a lot for the PR. I'm pretty sure this is the correct fix but it will be a couple of days before I have time to properly check.

@jitseniesen
Copy link
Member

Perfect! Thanks for your contribution.

@jitseniesen jitseniesen added this to the v0.4.0 milestone Sep 13, 2023
@jitseniesen jitseniesen merged commit d6ce369 into spyder-ide:master Sep 13, 2023
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

TypeErrors with plugin with Spyder 6
2 participants