Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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.

share|improve this question
up vote 1 down vote accepted

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

let g:syntastic_python_checker_args = "--max-line-length=160"
share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .