Files
Magnus Melin 3381809b31 Bug 2069988 - Add a mozlint linter_paths lintarg for payloads outside the linter directory r=linter-reviewers,sylvestre
Bug 2069661 made findobject load a linter's payload module from the file next to
its .yml rather than importing it by name. That assumes the definition and the
module it names sit in the same directory, which does not hold for comm-central.

Take a linter_paths lintarg, listing extra directories to search after the
definition's own. A payload is still loaded from a known linter directory and
not from sys.path.

Differential Revision: https://phabricator.services.mozilla.com/D324197
2026-09-08 07:13:02 +00:00
..