Project

Profile

Help

Issue #6781

check_pulpcore_imports does not allow imports from content

Added by fao89 4 months ago. Updated 4 months ago.

Status:
CLOSED - WORKSFORME
Priority:
Normal
Assignee:
-
Category:
-
Sprint/Milestone:
Start date:
Due date:
Estimated time:
Severity:
2. Medium
Version:
Platform Release:
OS:
Triaged:
No
Groomed:
No
Sprint Candidate:
No
Tags:
CI/CD
Sprint:
Quarter:

History

#1 Updated by daviddavis 4 months ago

I think this should work:

from pulpcore.plugin.content import app

See https://github.com/pulp/pulpcore/blob/master/pulpcore/plugin/content.py

#2 Updated by fao89 4 months ago

  • Status changed from NEW to CLOSED - WORKSFORME

Actually it was covered, thanks Davis! I opened a PR enabling it https://github.com/pulp/pulp_container/pull/79

Please register to edit this issue

Also available in: Atom PDF