Currently, the import fascist makes warnings like:
"""
You should not import IDistribution from canonical.launchpad.interfaces._schema_circular_imports:
lp.bugs.browser.bugtarget
"""
If it included the file name and line number of the offending import, it would be much easier to fix the warning, particularly if it used an Emacs-friendly format like:
"""
lib/lp/bugs/browser/bugtarget.py:44: from canonical.launchpad.interfaces._schema_circular_imports import IDistribution
"""
or even:
"""
lib/lp/bugs/browser/bugtarget.py:44:
from canonical.launchpad.interfaces._schema_circular_imports import IDistribution
IDistribution not exported from _schema_circular_imports
"""
Currently, the import fascist makes warnings like:
""" launchpad. interfaces. _schema_ circular_ imports: browser. bugtarget
You should not import IDistribution from canonical.
lp.bugs.
"""
If it included the file name and line number of the offending import, it would be much easier to fix the warning, particularly if it used an Emacs-friendly format like:
""" bugs/browser/ bugtarget. py:44: from canonical. launchpad. interfaces. _schema_ circular_ imports import IDistribution
lib/lp/
"""
or even:
""" bugs/browser/ bugtarget. py:44: launchpad. interfaces. _schema_ circular_ imports import IDistribution circular_ imports
lib/lp/
from canonical.
IDistribution not exported from _schema_
"""