Run one linter against one file.
If the result matches the error condition specified in the configuration file, return the error code and messages, otherwise return nothing.
Runs one linter against a set of files
Creates a match filter for the linter, extract the files to be linted, and runs the linter against each file, returning the result as a list of successes and failures. Failures have a return code and the output of the lint process.
Returns the configuration file from a prioritized list of locations.
If no configuration file is found, this is an error.
Returns the list of files against which we’ll run the linters.
Loads the git-lint configuration file.
Returns the configuration file as a dictionary of dictionaries. Performs substitutions as specified in the SafeConfigParser specification; the only one performed currently is the ‘repodir’ will be replaced with the base directory of the repository. Combined with the option to specify the .git-lint configuration as a directory, this allows users to keep per-project configuration files for specific linters.