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

后端 未结 4 772
时光说笑
时光说笑 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:10

    You can pass additional arguments to each linter. For pylint, you can use:

    let g:syntastic_python_pylint_post_args="--max-line-length=120"
    

提交回复
热议问题