Your imports should be in the order defined in here mozweb.readthedocs.org/en/latest/coding.html#python