- class mozlint.util.implementation.LintProcess(config, *args, **kwargs)¶
- abstract process_line(line)¶
Process a single line of output.
The implementation is responsible for creating one or more :class:`~mozlint.result.Issue`s and storing them somewhere accessible.
line (str) – The line of output to process.
- run(*args, **kwargs)¶
Starts the process.
If timeout is not None, the process will be allowed to continue for that number of seconds before being killed. If the process is killed due to a timeout, the onTimeout handler will be called.
If outputTimeout is not None, the process will be allowed to continue for that number of seconds without producing any output before being killed.