b301aea make-lint: Allow running pylint --py3k to detect Python3 issues

1 file Authored by pviktori 8 years ago, Committed by jcholast 8 years ago,
1 file changed. 26 lines added. 13 lines removed.
    make-lint: Allow running pylint --py3k to detect Python3 issues
    
    Pylint can be run with the --py3k switch to detect porting issues.
    This is not compatible with regular checking (i.e. to do all checks,
    pylint must be run twice, with and without --py3k).
    So, do an additional run of pylint in a subprocess for the py3k checks.
    
    Add a --no-py3k switch to skip the additional py3k run.
    Also add a --no-lint switch to allow only running the py3 checks.
    
    https://fedorahosted.org/freeipa/ticket/5623
    
    Reviewed-By: Jan Cholasta <jcholast@redhat.com>
    Reviewed-By: Martin Basti <mbasti@redhat.com>
    
        
file modified
+26 -13