Actions
Task #2286
closedAdd a travis task to fail when the plugin imports anything from pulp that isn't pulpcore.plugin
Status:
CLOSED - DUPLICATE
Priority:
Normal
Assignee:
-
Start date:
Due date:
% Done:
0%
Estimated time:
Platform Release:
Groomed:
Yes
Sprint Candidate:
Tags:
Sprint:
Quarter:
Description
Ticket moved to GitHub: "pulp/pulp_file/603":https://github.com/pulp/pulp_file/issues/603
While planning for pulp 3, we generally agreed that any plugin importing from anywhere other than 'pulpcore.plugin' indicates a failure of the plugin API. Based on this, it might be handy to have travis checking import statements in plugins to warn us when plugins are importing from inappropriate pulp platform namespaces.
Updated by semyers over 6 years ago
For this, I was thinking it might be easy to implement a flake8 plugin, since it's already got the static code analysis capabilities.
Updated by fdobrovo almost 6 years ago
- Status changed from NEW to ASSIGNED
- Assignee set to fdobrovo
Updated by ttereshc about 5 years ago
- Status changed from ASSIGNED to NEW
- Assignee deleted (
fdobrovo)
Updated by bmbouter about 5 years ago
- Subject changed from Add a travis task to fail when plugins import anything from pulp that isn't pulp.plugin to Add a travis task to fail when plugins import anything from pulp that isn't pulpcore.plugin
- Description updated (diff)
Updated to reflect the Python package name used.
Updated by jortel@redhat.com about 5 years ago
- Sprint/Milestone changed from 53 to 54
Updated by daviddavis almost 5 years ago
- Project changed from Pulp to File Support
Updated by amacdona@redhat.com almost 5 years ago
- Subject changed from Add a travis task to fail when plugins import anything from pulp that isn't pulpcore.plugin to Add a travis task to fail when the plugin imports anything from pulp that isn't pulpcore.plugin
Updated by pulpbot over 1 year ago
- Description updated (diff)
- Status changed from NEW to CLOSED - DUPLICATE
Actions