diff options
author | David Pursehouse <dpursehouse@collab.net> | 2020-02-12 14:31:05 +0900 |
---|---|---|
committer | David Pursehouse <dpursehouse@collab.net> | 2020-02-12 06:00:16 +0000 |
commit | 54a4e6007ab8be5738525b440cd6836c613517df (patch) | |
tree | 4e13a2ed3775463c0459754452b3888b7bb98b28 /subcmds/start.py | |
parent | 42339d7e52d6de6c702b78be7f5014e13646cc1b (diff) | |
download | git-repo-54a4e6007ab8be5738525b440cd6836c613517df.tar.gz |
Fix various whitespace issues reported by pyflakes
- E201 whitespace after '['
- E202 whitespace before '}'
- E221 multiple spaces before operator
- E222 multiple spaces after operator
- E225 missing whitespace around operator
- E226 missing whitespace around arithmetic operator
- E231 missing whitespace after ','
- E261 at least two spaces before inline comment
- E271 multiple spaces after keyword
Fixed automatically with autopep8:
git ls-files | grep py$ | xargs autopep8 --in-place \
--select E201,E202,E221,E222,E225,E226,E231,E261,E271
Change-Id: I367113eb8c847eb460532c7c2f8643f33040308c
Reviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/254601
Reviewed-by: Mike Frysinger <vapier@google.com>
Tested-by: David Pursehouse <dpursehouse@collab.net>
Diffstat (limited to 'subcmds/start.py')
-rw-r--r-- | subcmds/start.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/subcmds/start.py b/subcmds/start.py index 6ec0b2ce..9b810865 100644 --- a/subcmds/start.py +++ b/subcmds/start.py | |||
@@ -60,7 +60,7 @@ revision specified in the manifest. | |||
60 | if not opt.all: | 60 | if not opt.all: |
61 | projects = args[1:] | 61 | projects = args[1:] |
62 | if len(projects) < 1: | 62 | if len(projects) < 1: |
63 | projects = ['.',] # start it in the local project by default | 63 | projects = ['.'] # start it in the local project by default |
64 | 64 | ||
65 | all_projects = self.GetProjects(projects, | 65 | all_projects = self.GetProjects(projects, |
66 | missing_ok=bool(self.gitc_manifest)) | 66 | missing_ok=bool(self.gitc_manifest)) |