Pyright is reporting an error when trying to access RepeatedLabelError:
error: "RepeatedLabelError" is not a known attribute of module "usaddress" (reportAttributeAccessIssue)
This is probably because __init__.pyi has not a definition for the class.
So Python (at runtime) can import and use it just fine, however, because it is omitted in __init__.pyi, Pyright can’t “see” it.
Type Checker: Pyright
Version: v1.1.398
Python: 3.12.11
usaddress: 0.5.16