Modernize reviewboard.hostingsvcs.hook_utils.

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

Information

Review Board
master

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.
qxxlxyxqquvsynqqtuwqlxrxtnzvmkxx
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
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
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 (2 succeeded)

flake8 passed.
JSHint passed.