mozlint.util package

Submodules

mozlint.util.implementation module

class mozlint.util.implementation.LintProcess(config, *args, **kwargs)

Bases: Popen, ABC

abstract process_line(line)

Process a single line of output.

The implementation is responsible for creating one or more Issue and storing them somewhere accessible.

Parameters:

line (str) – The line of output to process.

run()

mozlint.util.string module

mozlint.util.string.pluralize(s, num)

Module contents