Uses "PyLint" to detect various errors in Python code. To use this linter,
you must install pylint and configure which codes you want to be reported as
errors, warnings and advice.
You should be able to install pylint with sudo easy_install pylint. If
your system is unusual, you can manually specify the location of pylint and
its dependencies by configuring these keys in your .arcconfig:
You can specify additional command-line options to pass to PyLint by
setting lint.pylint.options. You may also specify a list of additional
entries for PYTHONPATH with lint.pylint.pythonpath. Those can be
absolute or relative to the project root.
If you have a PyLint rcfile, specify its path with
lint.pylint.rcfile. It can be absolute or relative to the project
root. Be sure not to define output-format, or if you do, set it to
text.
Specify which PyLint messages map to which Arcanist messages by defining
the following regular expressions:
The regexps are run in that order; the first to match determines which
Arcanist severity applies, if any. For example, to capture all PyLint
"E...." errors as Arcanist errors, set lint.pylint.codes.error to:
You can also match more granularly:
According to man pylint, there are 5 kind of messages:
This method is not documented.
This method is not documented.
This method is not documented.
This method is not documented.
This method is not documented.
This method is not documented.
This method is not documented.
This method is not documented.
This method is not documented.