gecko-dev/python
Andrew Halberstadt 7c26ce739c Bug 1316925 - Keep track of failed linters in stylish formatter summary, r=jgraham
This replaces the "return_code" property on the LintRoller object with a list of "failed"
linters. This is a bit more useful as it lets us know exactly which linters had a problem
(whereas previously we just knew *something* went wrong). This patch pushes determining
the return code back into cli.py, which I think is fine.

In addition, we now pass the list of failed linters into the formatter. This allows us to
clarify exactly how many linters hit a failure which is a lot better than a seemingly
"successful" summary message.

Finally I also removed the "no files to lint" message because I've seen several people
confuse it for an error. I'll probably add it back as a debug log message when we switch
to using mozlog for output.

MozReview-Commit-ID: 4wyCeOZdOf8

--HG--
extra : rebase_source : 23810a8ab8dd9cbbad6b9e965ccff7214f947fbc
2016-11-14 11:56:46 -05:00
..
altgraph
bitstring
blessings
compare-locales bug 1291275, sys.stdout is utf-8 in mach, don't double-encode, r=glandium 2016-08-29 15:07:19 +02:00
configobj
devtools/migrate-l10n Bug 1312333 - Include bug1309191 in devtools l10n migration script for NetMonitor. r=pike 2016-10-23 23:19:00 +02:00
eme
futures Bug 1309060 - Update futures to version 3.0.5, r=gps 2016-10-24 16:04:45 -04:00
gdbpp/gdbpp bug 1297723 - support mozilla::UniquePtr in the gdb pretty printers r=froydnj 2016-11-08 16:30:52 -05:00
jsmin
lldbutils
mach Bug 1315785 - Set an environment variable when mach is attached to a TTY; r=glandium 2016-11-08 12:15:13 -08:00
macholib
mock-1.0.0
mozboot Bug 1313379 - Fix mach bootstrap for Windows desktop artifact mode. r=gps 2016-10-28 21:45:43 -07:00
mozbuild Merge m-i to m-c, a=merge 2016-11-17 19:21:20 -08:00
mozlint Bug 1316925 - Keep track of failed linters in stylish formatter summary, r=jgraham 2016-11-14 11:56:46 -05:00
mozversioncontrol/mozversioncontrol bug 1294565 - add some more helpers to mozversioncontrol, add MozbuildObject.repository. r=gps 2016-09-29 06:48:37 -04:00
psutil
py Bug 1253359 - Vendor in Pytest 2.9.2 and Py 1.4.31 r=gps 2016-08-10 13:34:59 +02:00
pyasn1
pyasn1-modules
PyECC
pylru Bug 1100925 - Vendored pylru 1.0.9 into mozilla-central. r=gps 2016-07-13 14:22:01 -07:00
pystache
pytest Bug 1253359 - Vendor in Pytest 2.9.2 and Py 1.4.31 r=gps 2016-08-10 13:34:59 +02:00
pytoml Bug 1231764 - part 4 - add pytoml to the virtualenv; r=chmanchester 2016-08-06 00:49:26 -04:00
pyyaml
redo Bug 1301785: update python/redo to 1.6; r=gps 2016-10-31 15:41:28 +00:00
requests
rsa
slugid
virtualenv Bug 1295439 - Upgrade setuptools to 25.2.0; r=glandium 2016-08-16 08:46:57 -07:00
voluptuous Bug 1281004: vendor voluptuous; r=gps 2016-06-29 20:39:02 +00:00
which
mach_commands.py Bug 1309060 - Give |mach python-test| the ability to run tests in parallel, r=gps 2016-10-11 12:29:09 -04:00
moz.build Bug 1313306 - Move --help dependency checks to the linter. r=chmanchester 2016-10-27 10:02:21 +09:00
README

This directory contains common Python code.

The basic rule is that if Python code is cross-module (that's "module" in the
Mozilla meaning - as in "module ownership") and is MPL-compatible, it should
go here.

What should not go here:

* Python that is not MPL-compatible (see other-licenses/)
* Python that has good reason to remain close to its "owning" (Mozilla)
  module (e.g. it is only being consumed from there).

Historical information can be found at
https://bugzilla.mozilla.org/show_bug.cgi?id=775243

## pyyaml | pystache

Used in taskcluster related mach commands to update download from github
and remove .git and tests.

Then run tests in taskcluster/tests/