Fix up documentation and typing for patcher code.

Review Request #14323 — Created Feb. 3, 2025 and submitted — Latest diff uploaded

Information

RBTools
master

Reviewers

The patcher code had several docstrings with errors of various sorts.
This change fixes up:

  • Some parameter names were listed incorrectly or were missing.
  • Some method names were not in the imperative mood.
  • A few typos.

This also adds type definitions for the can_commit and
can_patch_empty_files attributes for the SCMClientPatcher.

Ran unit tests.

Commits

Files