Bug 1950917 - Avoid warning about linting the entire repo when only running setup. r=linter-reviewers,ahal

Differential Revision: https://phabricator.services.mozilla.com/D246887
This commit is contained in:
Mark Banner
2025-04-28 20:45:07 +00:00
parent dab76003e0
commit 567d13de23

View File

@@ -442,6 +442,7 @@ def run(
not paths
and Path.cwd() == Path(lint.root)
and not (outgoing or workdir or rev)
and not setup
):
print(
"warning: linting the entire repo takes a long time, using --outgoing and "