4

My Vim is using PyFlakes to check for style errors in Python code. PyFlakes by default request that line isn't more than 79 symbols long, but our team's convention is 160 symbols. So the situation is that everyone in our team is writing long lines and PyFlakes is complaining a lot! It's possible to change line length when calling PyFlakes from command line just by passing argument. I'm looking for a way to do it in some “dotfile“ (file located in ~ dir) so it works globally and, because of that “dotfile“, also in my Vim.

Any advice much appreciated.

1

Solution was to add this to my ~/.vimrc.

let g:syntastic_python_checker_args = "--max-line-length=160"

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.