Added
- Message templates for error reports based on Pylint's syntax.
The message template uses a normal Python format string with
named arguments. For example, the default format string
for an error message is '{path}:{obj}:{line}: {msg_id}: {msg}'.
This is passed to the linter by a command-line argument.
For example, to get only the path, line number, and error code,
we could pass something like the following:
darglint -m "{path}:{line} -> {msg_id}" *.py
This value can also be specified in the configuration file
as the value, `message_template`. For example, the above
template could have been specified in the configuration
as
[darglint]
message_template={path}:{line} -> {msg_id}