• 
      

    Add type hints to ReviewUI implementation.

    Review Request #13514 — Created Jan. 31, 2024 and submitted — Latest diff uploaded

    Information

    Review Board
    master

    Reviewers

    This change adds type hints to the Python side of the Review UI
    implementation.

    While I was in here, I also discovered that the screenshot Review UI was
    calling into Screenshot.display_id, which didn't exist. This code path
    is effectively dead because the vast majority of installs don't use the
    Screenshot model at all, but it could theoretically cause crashes on
    very old review requests that do.

    Ran unit tests.

    Commits

    Files