I found the problem. The correct import statement in commands.py (note the dot before queries) is:
import
commands.py
queries
from .queries import report, Format