Update typing: Dict[...]
Review Request #14773 — Created Jan. 12, 2026 and submitted
This change updates the type hints in the rbtools codebase to replace
Dict[...]with eitherdict[...]orMapping[...]as appropriate (or
in a couple cases,RBToolsConfig).
Ran unit tests.
| Summary | ID |
|---|---|
| lxqklrlrulynqkzllzlmskvlrnsourus |
| Description | From | Last Updated |
|---|---|---|
|
'collections.abc.Mapping' imported but unused Column: 1 Error code: F401 |
|
|
|
Can we use | None here instead of Optional? |
|
|
|
Can we use | None here instead of Optional? |
|
|
|
Aside: isn't it bad to use empty dicts as default values because they can be mutated between calls? Maybe not … |
|