commit | 076512aafaa96563cfb1ca1d43bbd515091d0e5e | [log] [tgz] |
---|---|---|
author | David Pursehouse <dpursehouse@collab.net> | Sat Feb 15 11:43:24 2020 +0900 |
committer | David Pursehouse <dpursehouse@collab.net> | Sat Feb 15 03:41:17 2020 +0000 |
tree | 1c4a3d223eb03248949eb629a5acbcda3f50ab5a | |
parent | d8fda90eedcee2cc39ba13b9f8f7b7bab37310c3 [diff] |
flake8: Suppress "E731 do not assign a lambda expression, use a def" The Google Python Style Guide [1] says that lambdas are OK for one-liners. All the current usages are one-liners, so let's just suppress it. [1] http://google.github.io/styleguide/pyguide.html#210-lambda-functions Change-Id: I404c7a8e5e71870caf0f4604862cbf01db495863 Reviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/255038 Tested-by: David Pursehouse <dpursehouse@collab.net> Reviewed-by: Mike Frysinger <vapier@google.com>
Repo is a tool built on top of Git. Repo helps manage many Git repositories, does the uploads to revision control systems, and automates parts of the development workflow. Repo is not meant to replace Git, only to make it easier to work with Git. The repo command is an executable Python script that you can put anywhere in your path.
Many distros include repo, so you might be able to install from there.
# Debian/Ubuntu. $ sudo apt-get install repo # Gentoo. $ sudo emerge dev-vcs/repo
You can install it manually as well as it's a single script.
$ mkdir -p ~/.bin $ PATH="${HOME}/.bin:${PATH}" $ curl https://storage.googleapis.com/git-repo-downloads/repo > ~/.bin/repo $ chmod a+rx ~/.bin/repo