commit | a46bf7dc2af111ae4a663d61ed06dc90ddfb8068 | [log] [tgz] |
---|---|---|
author | David Pursehouse <dpursehouse@collab.net> | Sat Feb 15 12:45:53 2020 +0900 |
committer | David Pursehouse <dpursehouse@collab.net> | Sat Feb 15 04:45:16 2020 +0000 |
tree | d460327d2cb0b93800f746934cb4f1c4d0007be9 | |
parent | 19a1f22cd0a06eeb1cdea8e81ce7871bd5d6d6a2 [diff] |
flake8: Suppress "F821 undefined name" inline for Python 2 names All of the instances of this are related to Python 2 names that don't exist in Python 3, and the warnings are raised when running flake8 on Python 3. All of these will go away once we completely remove support for Python 2, so just suppress them inline. We don't globally suppress the check so that we will still see legitimate errors if/when they occur in new code. Change-Id: Iccf955f50abfc9f83b371fc0af6cceb51037456f Reviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/255039 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