• 
      

    Update pyflakes output parsing and CargoTool tests for latest versions.

    Review Request #14100 — Created Aug. 11, 2024 and submitted — Latest diff uploaded

    Information

    ReviewBot
    release-4.x

    Reviewers

    Since the last Review Bot release, PyFlakes has updated to have new
    error handling for unparsable files when run on newer versions of Python
    (3.11.4+). The new error information includes a line number, but no
    column number. We now handle parsing this information correctly, and
    updated unit tests to check for it. As this is really only used for
    things like null byte encoding issues in a file, it's not a major issue
    in practice.

    CargoTool also had numerous changes to the output format, but this
    didn't impact the actual tool, just the unit tests. We now check for
    older and newer variations of the output in the tests.

    Unit tests passed on my local dev server with the older dependencies
    and in CI with newer dependencies.

    Commits

    Files