Skip to content
This repository has been archived by the owner on Sep 20, 2023. It is now read-only.

Python: pylint

LCD 47 edited this page Jun 12, 2016 · 8 revisions

This file is no longer maintained

This file exists only as a historic reference. Documentation for syntastic checkers is now included in the manual, please see :help syntastic-checkers in Vim.


Author: Parantapa Bhattacharya [email protected]

Pylint is a code checker for Python. See the project's page for details.

Notes

  • On OS X you need to set the environment variable LC_CTYPE to UTF-8 before running Vim:
LC_CTYPE=en_US.UTF-8
export LC_CTYPE
  • Several people have expressed interest in showing the old message IDs along with the error messages. You can override the message format in g:syntastic_python_pylint_post_args. Please note that the new format must start with {path}:{line}:{column}:{C}: , otherwise syntastic will not recognise any messages. Example:
let g:syntastic_python_pylint_post_args = '--msg-template="{path}:{line}:{column}:{C}: [{symbol} {msg_id}] {msg}"'
Clone this wiki locally