Go to file
David Pursehouse bb5b1a076b Replace pylint with pyflakes/flake8
pylint reports a lot of warnings, but many of them are false positive,
and it's difficult to configure it. It also seems that for some reason
the included config file is not working well with the latest version.

Update the documentation to recommend using pyflakes and flake8 instead
of pylint. Remove the pylint config and add a basic flake8 config with
minimum settings:

- Maximum line length 80 columns
- Ignore warnings about indentation (repo uses 2 rather than expected 4)
- Ignore warnings about import placement

In this commit no code cleanup is done, and it's expected that most of
the files will throw up quite a few warnings, at least for flake8. These
can be cleaned up in follow-up commits.

The existing pylint suppression comments are left as-is. These will be
helpful when cleaning up pyflakes warnings later.

Change-Id: I2f7cb4340266ed07cc973ca6483b8f09d66a765b
2016-09-14 09:49:02 +02:00
docs Improve documentation of manifest server RPC methods 2016-04-13 17:55:36 +09:00
hooks Update commit-msg hook to version from Gerrit 2.12.1 2016-03-14 10:08:33 +09:00
subcmds Merge "upload: short circuit when nothing is pending" 2016-09-14 05:20:36 +00:00
tests Fix gitc-init behavior 2015-10-07 15:43:22 -07:00
.flake8 Replace pylint with pyflakes/flake8 2016-09-14 09:49:02 +02:00
.gitattributes Adds additional crlf clobber avoidance. 2016-06-22 08:36:45 +00:00
.gitignore Add repoc to the .gitignore file 2013-03-08 01:18:08 +00:00
.mailmap Update mailmap 2016-09-02 11:12:28 +09:00
.project Set correct name in PyDev and Eclipse project config 2013-04-19 09:35:43 +09:00
.pydevproject Set correct name in PyDev and Eclipse project config 2013-04-19 09:35:43 +09:00
color.py Pylint and PEP8 fixes for color.py 2015-03-28 21:12:27 +00:00
command.py repo: Repo does not always handle '.' parameter correctly 2016-04-08 00:07:52 +00:00
COPYING Initial Contribution 2008-10-21 07:00:00 -07:00
editor.py Change print statements to work in python3 2012-11-13 17:33:56 -08:00
error.py error: fix typos 2015-06-04 00:21:16 +00:00
git_command.py Add rpc: to default protocol whitelist 2016-02-26 18:53:54 -08:00
git_config.py Support smart-sync through persistent-http[s] 2015-08-19 10:22:11 -07:00
git_refs.py Fix some python3 encoding issues 2013-11-21 06:03:22 +00:00
git_ssh Don't allow git fetch to start ControlMaster 2010-10-29 08:15:14 -07:00
gitc_utils.py gitc: Lower concurrent ls-projects requests 2016-08-23 14:19:00 -07:00
main.py pylint: Fix unused-{argument,variable} warning 2016-06-21 11:48:57 -07:00
manifest_xml.py pylint: fix indentation in manifest_xml 2016-06-17 16:45:48 -07:00
pager.py Change print statements to work in python3 2012-11-13 17:33:56 -08:00
progress.py Support units in progress messages 2011-09-19 14:52:57 -07:00
project.py Merge "Fix submodule checkout error when using sync-s option" 2016-09-14 07:45:50 +00:00
pyversion.py Move Python version checking to a separate module 2013-05-23 07:28:53 +00:00
README.md improve docs 2016-08-16 00:14:28 -04:00
repo Increment the wrapper version 2016-08-17 13:58:17 +09:00
SUBMITTING_PATCHES.md Replace pylint with pyflakes/flake8 2016-09-14 09:49:02 +02:00
trace.py Change print statements to work in python3 2012-11-13 17:33:56 -08:00
wrapper.py Add wrapper module 2014-01-30 15:17:09 -08:00

repo

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.