We're started using ArcanistPyLintLinter and started running in the following error:
Exception
Some linters failed:
- Exception: Parameter passed to "setChar()" must be an integer.
(Run with `--trace` for a full exception trace.)After investigating I determined that if your python file looks like this:
"""Docstring""" """ Useless string """
arc lint will die. This happens because pylint returns -1 for the column value when it hits that Useless String
'pylint' '--reports=no' '--msg-template="{line}|{column}|{msg_id}|{symbol}|{msg}"' '/Users/david/src/client/badfile.py'
No config file found, using default configuration
************* Module badfile
4|-1|W0105|pointless-string-statement|String statement has no effectI fixed it locally by copying the ArcanistPyLintLinter to our repo and modifying it by casting the value to an int before passing it to getChar but I figured you might want to know that it's broken.