Disable pep8 check in syntastic for python files

前端 未结 2 1245
终归单人心
终归单人心 2021-02-05 16:22

I work with enough code that does not follow pep8 (that I cannot fix) and would like syntastic to not use the pep8 syntax checker. Any way to disable it?

2条回答
  •  无人及你
    2021-02-05 16:37

    Adding to Christians answer. You can also add specific checker args:

    let g:syntastic_python_flake8_args = "--ignore=E501 --max-complexity 10"
    

提交回复
热议问题