Fix up typing for things that just used generic resources.

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

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.

Summary ID
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
Description From Last Updated

It wasn't clear why this was where it was. I think this will be more readable if we assert after …

chipx86chipx86

This needs to be indented 1 more level.

chipx86chipx86
There are no open issues
maubin
  1. Ship It!
  2. 
      
chipx86
  1. 
      
  2. rbtools/utils/repository.py (Diff revision 1)
     
     
    Show all issues

    It wasn't clear why this was where it was. I think this will be more readable if we assert after the fetch. Especially since we're making comparisons on this variable up above.

  3. 
      
david
chipx86
  1. 
      
  2. rbtools/clients/clearcase.py (Diff revision 2)
     
     
     
     
     
     
     
    Show all issues

    This needs to be indented 1 more level.

  3. 
      
david
Review request changed
Status:
Completed
Change Summary:
Pushed to master (54eecc3)
Loading...