• Sean McGinnis's avatar
    Fix incorrect use of flake8:noqa · 8080c62f
    Sean McGinnis authored
    Adding the comment flake8:noqa in a file will skip linting the entire
    file. Most of the time, the intent was just to skip individual lines to
    handle exception cases.
    
    This gets rid of the "flake8:" prefix where it was used incorrectly and
    fixes a few legitimate errors that were being hidden by the entire file
    being skipped.
    
    The behavior is change in flake8 to handle this better, which will
    result in pep8 job failures if these are not fixes first. See more
    information in the 3.6.0 release notes:
    
    http://flake8.pycqa.org/en/latest/release-notes/3.6.0.html#features
    
    Change-Id: I1af4eb8bef9d0d0e3aa3bbbfd66a2fcb8ab336cb
    Signed-off-by: 's avatarSean McGinnis <sean.mcginnis@gmail.com>
    8080c62f