Actions
Task #4894
closedAdd check to Travis Configuration Tool to ensure the plugin never imports from pulpcore except pulpcore.plugin
Start date:
Due date:
% Done:
100%
Estimated time:
Platform Release:
Groomed:
No
Sprint Candidate:
No
Tags:
Plugin Template
Sprint:
Quarter:
Description
To use the plugin API correctly, you should only be importing things from pulpcore.plugin. A check should be added (defaults to on) to fail Travis tests (both merge and pre-release pipelines) if there is an import statement to pulpcore that is not pulpcore.plugin.
Actions
Adding script to check for non-plugin pulpcore imports
fixes #4894