Fix type issues in TFS support and add typing annotations everywhere.

Review Request #12566 — Created Aug. 24, 2022 and submitted — Latest diff uploaded

Information

RBTools
release-4.x

Reviewers

TFS lacked any unit tests prior to RBTools 4, and had numerous
type-related issues that broke on Python 3. Users could go back to
Python 2 on earlier versions, but that won't be the case any longer.

This change fixes up all the known type issues. It also adds typing
annotations to all parts of the code, ensuring that we are using the
proper types.

Documentation in parts have been updated as well to help keep things a
bit more maintainable.

Unit tests pass in Python 3.7-3.11.

Diff Revision 1

This is not the most recent revision of the diff. The latest diff is revision 2. See what's changed.

orig
1
2

Commits

First Last Summary ID Author
Fix type issues in TFS support and add typing annotations everywhere.
TFS lacked any unit tests prior to RBTools 4, and had numerous type-related issues that broke on Python 3. Users could go back to Python 2 on earlier versions, but that won't be the case any longer. This change fixes up all the known type issues. It also adds typing annotations to all parts of the code, ensuring that we are using the proper types. Documentation in parts have been updated as well to help keep things a bit more maintainable.
15c9737ec9e683817bb7e14ad3302666fb4d6117 Christian Hammond
rbtools/clients/tfs.py
Loading...