Pylinter icon indicating copy to clipboard operation
Pylinter copied to clipboard

update extra_pylint_args setting for list input

Open bytesofmyself opened this issue 8 years ago • 0 comments

This was probably the original intention of this setting but currently it only allows one argument to be passed as a string. More than one argument causes both arguments to fail unless the first argument ends in a comma and even then any additional argument fails.

Works: "pylint_extra": "--ignored-classes=MsgProto"

Both args fail: "pylint_extra": "--ignored-classes=MsgProto --extension-pkg-whitelist=lxml,cassandra"

First arg works: "pylint_extra": "--ignored-classes=MsgProto, --extension-pkg-whitelist=lxml,cassandra"

This setting should instead a list of strings instead of a string "pylint_extra": ["--ignored-classes=MsgProto", "--extension-pkg-whitelist=lxml,cassandra"]

bytesofmyself avatar Jan 17 '17 22:01 bytesofmyself