pylint-errors

W0410 (misplaced-future)

:x: Problematic code:

import sys

from __future__ import print_function

:heavy_check_mark: Correct code:

from __future__ import print_function

import sys

Rationale:

Python 2.5 and greater require future import to be the first non docstring statement in the module. This message belongs to the imports checker.