rules/python/wildcard-import.md

A wildcard import (from module import *) injects every public name from another module into the current namespace, so plain-text search cannot tell where a symbol came from and new exports can silently shadow local names. Import the explicit names you use or qualify them with the module.

diff
1-from billing.models import *
2+from billing.models import Invoice, Order

What the rule reports

The rule reports any from <module> import * statement outside from numpy import *, which numpy/numpy-import-alias already reports with NumPy-specific guidance.

How to fix it

xpd has no automatic fix, so make the change by hand.

List each imported symbol explicitly in the from statement, or write import <module> and qualify references with the module name.