The import style is a bit wrong, it's supposed to be standard lib imports, then third-party imports, then CKAN imports, with a blank line between each section (it's in the coding standards somewhere)