зеркало из https://github.com/mozilla/gecko-dev.git
f049bde942
This patch adds a global lint that only runs when a file or directory that matches their configuration (via `extensions` and `exclude`) has been modified or specified. Global lints never shard into chunks; they are, by definition global (i.e., across the entire source tree) and act on all inputs in a single invocation. It's up to the global lint to manage command line sizes, etc. Since batching is handled by the lint type but sharding is handled by the lint roller, there's a little abstraction leak so that the lint type can control how its invocation is sharded: the existing `batch` member is generalized from the existing `True` and `False` to add a new `"global"` value which disables sharding. Differential Revision: https://phabricator.services.mozilla.com/D35275 --HG-- extra : moz-landing-system : lando |
||
---|---|---|
.. | ||
devtools/migrate-l10n | ||
docs | ||
gdbpp/gdbpp | ||
l10n | ||
mach | ||
mozboot | ||
mozbuild | ||
mozlint | ||
mozrelease | ||
mozterm | ||
mozversioncontrol | ||
safety | ||
README | ||
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: * Vendored python modules (use third_party/python instead) * 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 https://bugzilla.mozilla.org/show_bug.cgi?id=1346025