Your IP : 216.73.216.196


Current Path : /opt/alt/python27/lib/python2.7/site-packages/prospector/
Upload File :
Current File : //opt/alt/python27/lib/python2.7/site-packages/prospector/postfilter.pyc

�
�� Uc@sddlmZd�ZdS(i����(tget_suppressionscCst|||�\}}}g}x�|D]�}|jdkrR|jdkrRq(n|jj|krjq(n|jj|kr�|jj||jjkr�q(q�n|jj|kr�|jj||jjkr�|j||jj|jjkr�q(q�q�n|j|�q(W|S(s
    This method post-processes all messages output by all tools, in order to filter
    out any based on the overall output.

    The main aim currently is to use information about messages suppressed by
    pylint due to inline comments, and use that to suppress messages from other
    tools representing the same problem.

    For example:

        import banana  # pylint:disable=unused-import

    In this situation, pylint will not warn about an unused import as there is
    inline configuration to disable the warning. Pyflakes will still raise that
    error, however, because it does not understand pylint disabling messages.
    This method uses the information about suppressed messages from pylint to
    squash the unwanted redundant error from pyflakes and frosted.
    tpylintssuppressed-message(ssuppressed-message(Rtsourcetcodetlocationtpathtlinetappend(trelative_filepathstroottmessagestpaths_to_ignoretlines_to_ignoretmessages_to_ignoretfilteredtmessage((sF/opt/alt/python27/lib/python2.7/site-packages/prospector/postfilter.pytfilter_messagess 
	#N(tprospector.suppressionRR(((sF/opt/alt/python27/lib/python2.7/site-packages/prospector/postfilter.pyt<module>s