Skip to main content

pylint en vim y como decirle que no sea tan denso

para tener pylint en vim (o para el caso cualquier linter de casi cualquier lenguaje) instala syntastic.

https://github.com/scrooloose/syntastic

hacelo por este caballo:


               ,
/ \,,_ .'|
,{{| /}}}}/_.' _____________________________________________
}}}}` '{{' '. / \
{{{{{ _ ;, \ / Gentlemen, \
,}}}}}} /o`\ ` ;) | |
{{{{{{ / ( | this is ... |
}}}}}} | \ | |
{{{{{{{{ \ \ | |
}}}}}}}}} '.__ _ | | _____ __ __ _ |
{{{{{{{{ /`._ (_\ / | / ___/__ ______ / /_____ ______/ /_(_)____ |
}}}}}}' | //___/ --=: \__ \/ / / / __ \/ __/ __ `/ ___/ __/ / ___/ |
jgs `{{{{` | '--' | ___/ / /_/ / / / / /_/ /_/ (__ ) /_/ / /__ |
}}}` | /____/\__, /_/ /_/\__/\__,_/____/\__/_/\___/ |
| /____/ |
| /
\_____________________________________________/

para decirle que no sea tan denso podes empezar dumpeando un pylintrc en la ubicación por defecto:

pylint --generate-rcfile > .pylintrc

y editandolo a conciencia

EDIT: acá esta mi pylintrc

para decirle asyntastic que use pylint y no pyflake o similar agrega esta linea en tu vimrc:

let g:syntastic_python_checker = 'pylint'

y todos felices, incluso serj tankian


Comments

Comments powered by Disqus