Finch_Powers
Finch_Powers

Reputation: 3126

In vim python-mode, how can I get pep8-naming to work?

I've installed pep8 naming (https://pypi.python.org/pypi/pep8-naming)

finchpowers@dev:~$ flake8 --version
2.1.0 (pep8: 1.5.7, pyflakes: 0.8.1, mccabe: 0.2.1, naming: 0.2.2) CPython 2.7.3 on Linux

So it looks fine. In my .vimrc I have

let g:pymode_lint_checkers = "pyflakes,pep8,mccabe,pep257"

When in vim, none of my naming errors are reported. Is it supported? Have I missed any step?

Thanks

Upvotes: 0

Views: 368

Answers (1)

user775413
user775413

Reputation:

I'm using the pathogen plugin manager for vim and loading flake8 into syntastic.

This worked for me: ~/.vimrc:

call pathogen#infect()
syntax enable
let g:syntastic_python_checkers=['flake8']

Upvotes: 1

Related Questions