Fix up typing for things that just used generic resources.

Review Request #14413 — Created April 30, 2025 and submitted — Latest diff uploaded

Information

RBTools
master

Reviewers

There were a handful of places where we had added type annotations to
things prior to all the API work, and were just using generic
ListResource/ItemResource/Resource for those. This fixes them up to use
the newly-defined resource subclasses for those annotations.

Ran unit tests.

Diff Revision 2 (Latest)

orig
1
2

Commits

First Last Summary ID Author
Fix up typing for things that just used generic resources.
There were a handful of places where we had added type annotations to things prior to all the API work, and were just using generic ListResource/ItemResource/Resource for those. This fixes them up to use the newly-defined resource subclasses for those annotations. Testing Done: Ran unit tests.
8479972044e06560ab38deea1deece818279adf2 David Trowbridge
rbtools/api/resource/review_request.py
rbtools/clients/clearcase.py
rbtools/clients/svn.py
rbtools/clients/base/repository.py
rbtools/clients/base/scmclient.py
rbtools/commands/review.py
rbtools/commands/setup_repo.py
rbtools/commands/base/commands.py
rbtools/commands/tests/test_setup_repo.py
rbtools/diffs/patcher.py
rbtools/utils/repository.py
rbtools/utils/web_login.py
Loading...