From ea2e330e43c182dc16b0111ebc69ee5a71ee4ce1 Mon Sep 17 00:00:00 2001 From: Gavin Mak Date: Sat, 11 Mar 2023 06:46:20 +0000 Subject: Format codebase with black and check formatting in CQ Apply rules set by https://gerrit-review.googlesource.com/c/git-repo/+/362954/ across the codebase and fix any lingering errors caught by flake8. Also check black formatting in run_tests (and CQ). Bug: b/267675342 Change-Id: I972d77649dac351150dcfeb1cd1ad0ea2efc1956 Reviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/363474 Reviewed-by: Mike Frysinger Tested-by: Gavin Mak Commit-Queue: Gavin Mak --- subcmds/smartsync.py | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'subcmds/smartsync.py') diff --git a/subcmds/smartsync.py b/subcmds/smartsync.py index d91d59c6..49d09972 100644 --- a/subcmds/smartsync.py +++ b/subcmds/smartsync.py @@ -16,18 +16,18 @@ from subcmds.sync import Sync class Smartsync(Sync): - COMMON = True - helpSummary = "Update working tree to the latest known good revision" - helpUsage = """ + COMMON = True + helpSummary = "Update working tree to the latest known good revision" + helpUsage = """ %prog [...] """ - helpDescription = """ + helpDescription = """ The '%prog' command is a shortcut for sync -s. """ - def _Options(self, p): - Sync._Options(self, p, show_smart=False) + def _Options(self, p): + Sync._Options(self, p, show_smart=False) - def Execute(self, opt, args): - opt.smart_sync = True - Sync.Execute(self, opt, args) + def Execute(self, opt, args): + opt.smart_sync = True + Sync.Execute(self, opt, args) -- cgit v1.2.3-54-g00ecf