• 
      

    Modernize reviewboard.hostingsvcs.hook_utils.

    Review Request #14590 — Created Sept. 4, 2025 and submitted

    Information

    Review Board
    release-7.1.x

    Reviewers

    This change adds type hints and modernizes documentation within the
    hook_utils module.

    Ran unit tests.

    Summary ID
    Modernize reviewboard.hostingsvcs.hook_utils.
    This change adds type hints and modernizes documentation within the `hook_utils` module. Testing Done: Ran unit tests.
    oxuulqstvkyluruoptropkkyzpysrmvq
    Description From Last Updated

    "Git"

    chipx86chipx86

    Doesn't have to be this change, but we should probably make all these take keyword-only arguments, given the complexity and …

    chipx86chipx86

    'threading.local' imported but unused Column: 1 Error code: F401

    reviewbotreviewbot

    This can just be combined now.

    chipx86chipx86
    chipx86
    1. 
        
    2. reviewboard/hostingsvcs/hook_utils.py (Diff revision 1)
       
       
      Show all issues

      "Git"

    3. reviewboard/hostingsvcs/hook_utils.py (Diff revision 1)
       
       
       
       
       
       
       
      Show all issues

      Doesn't have to be this change, but we should probably make all these take keyword-only arguments, given the complexity and probably need for future expansion here.

    4. 
        
    david
    Review request changed
    Commits:
    Summary ID
    Modernize reviewboard.hostingsvcs.hook_utils.
    This change adds type hints and modernizes documentation within the `hook_utils` module. Testing Done: Ran unit tests.
    qxxlxyxqquvsynqqtuwqlxrxtnzvmkxx
    Modernize reviewboard.hostingsvcs.hook_utils.
    This change adds type hints and modernizes documentation within the `hook_utils` module. Testing Done: Ran unit tests.
    qxxlxyxqquvsynqqtuwqlxrxtnzvmkxx

    Checks run (1 failed, 1 succeeded)

    flake8 failed.
    JSHint passed.

    flake8

    david
    david
    maubin
    1. Ship It!
    2. 
        
    chipx86
    1. 
        
    2. reviewboard/hostingsvcs/hook_utils.py (Diff revision 4)
       
       
       
       
      Show all issues

      This can just be combined now.

    3. 
        
    david
    Review request changed
    Status:
    Completed
    Change Summary:
    Pushed to release-7.1.x (4f6bdf3)