Project

Profile

Help

Task #4894

closed

Add check to Travis Configuration Tool to ensure the plugin never imports from pulpcore except pulpcore.plugin

Added by bmbouter almost 5 years ago. Updated about 4 years ago.

Status:
CLOSED - COMPLETE
Priority:
Normal
Assignee:
Category:
-
Sprint/Milestone:
-
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.

Also available in: Atom PDF