Ignore imports when computing pylint similarities

@sarina @nedbat