Update get_local_path and get_repository_info type safety on remaining clients.

Review Request #12587 — Created Sept. 7, 2022 and submitted — Latest diff uploaded

Information

RBTools
release-4.x

Reviewers

Most SCMClients had moved to type-safe get_local_path() and
get_repository_info() methods, but there were a handful that haven't
yet been updated.

This updates those remaining methods to include type annotations in the
definition and to fix type safety issues in the code.

Unit tests passed.

Verified that the type checkers were happy with these functions.

Posted this change.

Diff Revision 1 (Latest)

Commits

First Last Summary ID Author
Update get_local_path and get_repository_info type safety on remaining clients.
Most SCMClients had moved to type-safe `get_local_path()` and `get_repository_info()` methods, but there were a handful that haven't yet been updated. This updates those remaining methods to include type annotations in the definition and to fix type safety issues in the code.
e4a150fc18a869ce7c6ed0f079f2ae553e6b0b05 Christian Hammond
rbtools/clients/clearcase.py
rbtools/clients/git.py
rbtools/clients/mercurial.py
rbtools/clients/perforce.py
rbtools/clients/plastic.py
rbtools/clients/sos.py
rbtools/clients/svn.py
Loading...