[Python-projects] Patch for pylint: allow consecutive __future__ statements
Stefan Rank
stefan.rank at ofai.at
Sun Jul 15 19:07:51 CEST 2007
Hi,
Python allows more than one __future__ statement,
pylint only allows one.
So this::
# py2.5 euphoria header: due to a bug in py2.5, with has its own line
from __future__ import with_statement
from __future__ import absolute_import, division
results in a W0410 for the second statement.
Attached patch changes that.
cheers,
stefan
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: pylint-future-import.patch
Url: http://lists.logilab.org/pipermail/python-projects/attachments/20070715/4ada63ec/attachment.txt
More information about the Python-Projects
mailing list