• 
      

    Remove support for positional arguments in deprecated signatures.

    Review Request #15289 — Created Sept. 10, 2026 and updated

    Information

    RBTools
    master

    Reviewers

    PatchAuthor.__init__, PatchResult.__init__, guess_mimetype, and
    BaseCommandTests.create_command were all converted to keyword-only
    arguments, with a deprecation shim for positional callers. This change
    removes those shims for RBTools 7.

    Ran unit tests.

    Summary ID
    Remove support for positional arguments in deprecated signatures.
    `PatchAuthor.__init__`, `PatchResult.__init__`, `guess_mimetype`, and `BaseCommandTests.create_command` were all converted to keyword-only arguments, with a deprecation shim for positional callers. This change removes those shims for RBTools 7. Testing Done: Ran unit tests.
    mkwqwuozlwzzsooqpyovyyqttsuwtznw
    Checks run (2 succeeded)
    flake8 passed.
    JSHint passed.