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

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

    There is a file named - defaults.py inside your virtual environment folder - ......./lib/python3.6/site-packages/flake8

    You can change the value of max-line-length in that file.

提交回复
热议问题