gecko-dev/python
Andrew Halberstadt 482f8a956c Bug 1281899 - [mozlint] Create cli module and move logic from tools/lint/mach_commands.py there, r=smacleod
There is currently no built-in user interface to mozlint. The only existing interface is the
external cli provided by |mach lint|. However, in the future mozlint may need to be used in a
context where mach isn't readily available (i.e version-control-tools). This patch basically
just moves the cli logic out of mach_commands.py, and into mozlint core. That way it can be
re-used in other places without needing to be re-implemented.

The |mach lint setup| subcommand was removed because apparently subcommands don't work with
the parser attribute. Nothing was using it yet anyway, so I removed it for now. It may get
re-added in some form in the future.

MozReview-Commit-ID: aOGp2Yrncs

--HG--
extra : rebase_source : 8f7530de96e5c131d2ed5bfcdd7a159329401e5b
2016-06-24 14:06:22 -04:00
..
altgraph Bug 1265272 - Import altgraph 0.12; r=ted,gerv 2016-04-21 13:49:29 -04:00
bitstring
blessings
compare-locales
configobj
eme Bug 1265272 - Update gen-eme-voucher.py to handle work on MacOSX binaries. r=ted 2016-04-21 11:10:27 -04:00
futures
gdbpp/gdbpp bug 985566 - add some pretty printers to .gdbinit r=froydnj r=glandium 2016-06-02 13:33:07 -04:00
jsmin
lldbutils Bug 1235261 - Part 4: Remove AutoFallibleTArray. r=froydnj 2016-02-02 17:36:30 +02:00
mach NO BUG - Bump version of mach to 0.6 2016-05-02 13:36:33 -07:00
macholib Bug 1265272 - Import macholib 1.7; r=ted,gerv 2016-04-21 11:46:07 -04:00
mock-1.0.0
mozboot NO BUG - Reference hg.mozilla.org/mozilla-unified instead of /firefox 2016-06-27 13:54:15 -07:00
mozbuild Bug 1282420 - fix artifact builds so they don't depend on mach being invoked in the topsrcdir, r=chmanchester 2016-06-27 14:42:38 +01:00
mozlint Bug 1281899 - [mozlint] Create cli module and move logic from tools/lint/mach_commands.py there, r=smacleod 2016-06-24 14:06:22 -04:00
mozversioncontrol/mozversioncontrol
psutil
pyasn1
pyasn1-modules
PyECC
pystache
pyyaml
redo
requests Bug 1247994 - Upgrade vendored requests package to 2.9.1; r=mshal 2016-02-12 10:03:53 -08:00
rsa
slugid
virtualenv Bug 1259551 - Upgrade vendored virtualenv to 15.0.1; r=ted 2016-03-24 12:21:55 -07:00
which
mach_commands.py Bug 1271734 - Move all eslint related infrastructure to tools/lint, r=miker 2016-06-02 15:38:36 -04:00
moz.build Bug 1270446 - Move CompilerPreprocessor, FakeCompiler and their tests to a separate file. r=chmanchester 2016-05-06 21:23:40 +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/