diff options
author | David Pursehouse <dpursehouse@collab.net> | 2020-02-12 14:58:39 +0900 |
---|---|---|
committer | David Pursehouse <dpursehouse@collab.net> | 2020-02-12 06:36:22 +0000 |
commit | abdf7500612f1d115863ba8f026ddbea1e5a1f28 (patch) | |
tree | 2b87f056bdf4fb53a170fc9121c2f5d1557bb48f /subcmds/status.py | |
parent | 0ab95ba6d010abe5d615fa070e404582aca1d90a (diff) | |
download | git-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/status.py')
-rw-r--r-- | subcmds/status.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/subcmds/status.py b/subcmds/status.py index 6012ae24..a04ba922 100644 --- a/subcmds/status.py +++ b/subcmds/status.py | |||
@@ -126,8 +126,8 @@ the following meanings: | |||
126 | continue | 126 | continue |
127 | if item in proj_dirs_parents: | 127 | if item in proj_dirs_parents: |
128 | self._FindOrphans(glob.glob('%s/.*' % item) + | 128 | self._FindOrphans(glob.glob('%s/.*' % item) + |
129 | glob.glob('%s/*' % item), | 129 | glob.glob('%s/*' % item), |
130 | proj_dirs, proj_dirs_parents, outstring) | 130 | proj_dirs, proj_dirs_parents, outstring) |
131 | continue | 131 | continue |
132 | outstring.append(''.join([status_header, item, '/'])) | 132 | outstring.append(''.join([status_header, item, '/'])) |
133 | 133 | ||
@@ -179,8 +179,8 @@ the following meanings: | |||
179 | 179 | ||
180 | outstring = [] | 180 | outstring = [] |
181 | self._FindOrphans(glob.glob('.*') + | 181 | self._FindOrphans(glob.glob('.*') + |
182 | glob.glob('*'), | 182 | glob.glob('*'), |
183 | proj_dirs, proj_dirs_parents, outstring) | 183 | proj_dirs, proj_dirs_parents, outstring) |
184 | 184 | ||
185 | if outstring: | 185 | if outstring: |
186 | output = StatusColoring(self.manifest.globalConfig) | 186 | output = StatusColoring(self.manifest.globalConfig) |