summaryrefslogtreecommitdiffstats
path: root/subcmds/info.py
diff options
context:
space:
mode:
authorDavid Pursehouse <dpursehouse@collab.net>2020-02-12 14:58:39 +0900
committerDavid Pursehouse <dpursehouse@collab.net>2020-02-12 06:36:22 +0000
commitabdf7500612f1d115863ba8f026ddbea1e5a1f28 (patch)
tree2b87f056bdf4fb53a170fc9121c2f5d1557bb48f /subcmds/info.py
parent0ab95ba6d010abe5d615fa070e404582aca1d90a (diff)
downloadgit-repo-abdf7500612f1d115863ba8f026ddbea1e5a1f28.tar.gz
Fix indentation issues reported by flake8
- E121 continuation line under-indented for hanging indent - E122 continuation line missing indentation or outdented - E125 continuation line with same indent as next logical line - E126 continuation line over-indented for hanging indent - E127 continuation line over-indented for visual indent - E128 continuation line under-indented for visual indent - E129 visually indented line with same indent as next logical line - E131 continuation line unaligned for hanging indent Fixed automatically with autopep8: git ls-files | grep py$ | xargs autopep8 --in-place \ --select E121,E122,E125,E126,E127,E128,E129,E131 Change-Id: Ifd95fb8e6a1a4d6e9de187b5787d64a6326dd249 Reviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/254605 Reviewed-by: Mike Frysinger <vapier@google.com> Tested-by: David Pursehouse <dpursehouse@collab.net>
Diffstat (limited to 'subcmds/info.py')
-rw-r--r--subcmds/info.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/subcmds/info.py b/subcmds/info.py
index a6faf16a..96fa6a4c 100644
--- a/subcmds/info.py
+++ b/subcmds/info.py
@@ -195,11 +195,11 @@ class Info(PagedCommand):
195 commits = branch.commits 195 commits = branch.commits
196 date = branch.date 196 date = branch.date
197 self.text('%s %-33s (%2d commit%s, %s)' % ( 197 self.text('%s %-33s (%2d commit%s, %s)' % (
198 branch.name == project.CurrentBranch and '*' or ' ', 198 branch.name == project.CurrentBranch and '*' or ' ',
199 branch.name, 199 branch.name,
200 len(commits), 200 len(commits),
201 len(commits) != 1 and 's' or '', 201 len(commits) != 1 and 's' or '',
202 date)) 202 date))
203 self.out.nl() 203 self.out.nl()
204 204
205 for commit in commits: 205 for commit in commits: