From 65acc1df40d3ac6213d5d7f8edfff1871ccdba8c Mon Sep 17 00:00:00 2001 From: Allen Li Date: Fri, 9 Aug 2024 01:31:45 +0000 Subject: [PATCH] [scm_mock] Make params keyword only None of the optional params are used currently, so make them keyword to ease future changes, like adding the global_config in the next CL. Change-Id: I213cccb945c969b4211adad8ccd9170ef6209e0a Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/5773568 Reviewed-by: Josip Sokcevic Commit-Queue: Allen Li --- tests/scm_mock.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/scm_mock.py b/tests/scm_mock.py index ede857327..411db9116 100644 --- a/tests/scm_mock.py +++ b/tests/scm_mock.py @@ -18,6 +18,7 @@ import scm def GIT(test: unittest.TestCase, + *, branchref: str | None = None): """Installs fakes/mocks for scm.GIT so that: