title: pylint duplicate code false positive
body: <p>I have this code in (many) of my Python files for a project.</p>
  
  <pre><code>from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  from __future__ import unicode_literals
  from pprint import pformat
  </code></pre>
  
  <p>Pylint complains that:</p>
  
  <pre><code>==ook:2
  ==eek:2
  from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  from __future__ import unicode_literals
  from pprint import pformat (duplicate-code)
  </code></pre>
  
  <p>Which while true is utterly irrelevant. The <code>from __future__ [...]</code> lines are there <a href="https://docs.python.org/3/howto/pyporting.html#prevent-compatibility-regressions" rel="noreferrer">to prevent compatibility regressions</a> from <a href="https://docs.python.org/3/howto/pyporting.html" rel="noreferrer">Python 2 to Python 3</a>. As such, pylint should not complain about them being similar in different files.</p>
  
  <p>Is there a way to stop pytlint doing that?</p>
  
  <p>I know about <code>pylint: disable=duplicate-code</code> but that will disable it for the whole file because of the import scope. However, I do not want to disable it for the whole file.</p>