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

Raise a warning if multiple plugins exist with same name #333

Merged
merged 5 commits into from
Nov 18, 2020
Merged

Raise a warning if multiple plugins exist with same name #333

merged 5 commits into from
Nov 18, 2020

Conversation

JoakimJohansen
Copy link
Contributor

@JoakimJohansen JoakimJohansen commented Oct 23, 2020

Insert a description of your pull request (PR) here, and check off the boxes below when they are done.
##hacktoberfestivus

Gives warning if multiple plugins exist with same name in different packages, along with the conflicting package names.

Contributors: The GreenTeam w/
torgeha
JoakimJohansen
antoneskov

Contributor checklist

@antoneskov
Copy link
Contributor

@anders-kiaer , can we please have a review, evt. approval by the end of "hacktoberfestivus"?

Copy link
Collaborator

@anders-kiaer anders-kiaer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@antoneskov, @JoakimJohansen et al. - thanks for the PR 🎉 👏 Love the tests. 🤖

We will get this in (if that is enough feedback wrt. "hacktoberfestivus"), but would need some small changes before ready for merge to master.

Added some feedback as comments below. Also CI requires running black on the changed files to make it happy 🕵️‍♂️ If you don't have time I can also do the necessary changes, but that might be first next week.

tests/test_plugin_init.py Outdated Show resolved Hide resolved
tests/test_plugin_init.py Outdated Show resolved Hide resolved
webviz_config/plugins/plugin_utils.py Outdated Show resolved Hide resolved
webviz_config/plugins/plugin_utils.py Outdated Show resolved Hide resolved
webviz_config/plugins/plugin_utils.py Outdated Show resolved Hide resolved
@JoakimJohansen
Copy link
Contributor Author

Requested changes has been made @anders-kiaer.

@anders-kiaer anders-kiaer changed the title Raise a warning if multiple plugins exist with same name #292 Raise a warning if multiple plugins exist with same name Nov 17, 2020
@anders-kiaer
Copy link
Collaborator

@asnyv and/or @HansKallekleiv: 🟢 lights. This is ready for final review now from one of you.

Copy link
Collaborator

@asnyv asnyv left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 🎉

@anders-kiaer anders-kiaer merged commit babeba6 into equinor:master Nov 18, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

Raise a warning if multiple plugins exist with same name
6 participants