How can I set the Python max allowed line length to 120 in Syntastic for Vim?

后端 未结 4 763
时光说笑
时光说笑 2021-02-12 13:40

I\'m using python-mode for Vim, I prefer for there to be 120 character lines rather than the stark 80 as defined in the PEP8 standard.

In python-mode, this is easy. I j

4条回答
  •  野的像风
    2021-02-12 14:22

    I would just recommend you disable the length checking by adding this line to your .vimrc dot file:

    let g:pymode_lint_ignore = "E501,W"
    

提交回复
热议问题