gecko-dev/python
Mitchell Hentges cb97199fe0 Bug 1754241: ./mach lint now raises exception on no-op in CI r=ahal
If there's no files to lint in CI, that's a smell that something is
misconfigured.

Resolve this by raising an exception accordingly if `MOZ_AUTOMATION` is
set (and we aren't running the tests for the linting code itself).
Automatically recommend specifying `*`, as (assuming the use of a
shell) that will resolve to "all files/dirs at $topsrcdir`", which
matches existing behaviour if `--outgoing` and `--workdir` aren't
provided.

Differential Revision: https://phabricator.services.mozilla.com/D138172
2022-02-10 16:22:06 +00:00
..
devtools/migrate-l10n Bug 1753413 - fx doc: Remove whitespaces, trailing lines & windows CR r=andi,perftest-reviewers,sparky 2022-02-03 18:34:58 +00:00
docs
gdbpp/gdbpp
l10n Bug 1746509 - Replace More from Mozilla XUL tags with HTML, r=pdahiya,Gijs,preferences-reviewers,flod 2022-01-27 19:11:27 +00:00
lldbutils
mach Bug 1752927: Avoid distutils deprecation warning on every Mach call r=ahal 2022-02-04 21:49:15 +00:00
mozboot Bug 1752927: Avoid distutils deprecation warning on every Mach call r=ahal 2022-02-04 21:49:15 +00:00
mozbuild Bug 1753259: Try finding VCS tool if build config is outdated r=ahal 2022-02-02 19:33:52 +00:00
mozlint Bug 1754241: ./mach lint now raises exception on no-op in CI r=ahal 2022-02-10 16:22:06 +00:00
mozperftest Bug 1752871 - Add option to specify which page to record. r=perftest-reviewers,AlexandruIonescu 2022-02-10 16:09:22 +00:00
mozrelease Bug 1707591 - ride along - reformat the tree with black 21.10b0 r=ahal,webdriver-reviewers,perftest-reviewers,whimboo,gerard-majax,alexandru.irimovici 2021-11-22 22:10:03 +00:00
mozterm
mozversioncontrol Bug 1753259: Try finding VCS tool if build config is outdated r=ahal 2022-02-02 19:33:52 +00:00
mach_commands.py Bug 1753555 - Replaced ProcessHandler in run_python_test with a more standard solution r=ahal 2022-02-08 23:46:12 +00:00
moz.build Bug 1709697 - Allow to repackage into MSIX. r=firefox-build-system-reviewers,mhowell,bhearsum,glandium 2021-08-05 02:58:14 +00: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:

* 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