mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-25 05:41:12 +00:00
482f8a956c
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 |
||
---|---|---|
.. | ||
altgraph | ||
bitstring | ||
blessings | ||
compare-locales | ||
configobj | ||
eme | ||
futures | ||
gdbpp/gdbpp | ||
jsmin | ||
lldbutils | ||
mach | ||
macholib | ||
mock-1.0.0 | ||
mozboot | ||
mozbuild | ||
mozlint | ||
mozversioncontrol/mozversioncontrol | ||
psutil | ||
pyasn1 | ||
pyasn1-modules | ||
PyECC | ||
pystache | ||
pyyaml | ||
redo | ||
requests | ||
rsa | ||
slugid | ||
virtualenv | ||
which | ||
mach_commands.py | ||
moz.build | ||
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/