gecko-dev/python/mozlint
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
..
mozlint Bug 1754241: ./mach lint now raises exception on no-op in CI r=ahal 2022-02-10 16:22:06 +00:00
test Bug 1753769: "runcli.py" in tests should use explicit paths r=ahal 2022-02-08 22:06:59 +00:00
setup.py Bug 1654103: Standardize on Black for Python code in mozilla-central. 2020-10-26 18:34:53 +00:00