vim-flake8
vim-flake8 copied to clipboard
Disable complexity warnings?
I added the next option to my .vimrc:
let g:flake8_complexity_marker='' " disable McCabe complexity warnings
But running flake#Flake8() still displays complexity warnings:
Could you please advise?
It’s probably easiest if you turn off complexity checking in flake8 directly (using the .flake8 config file). For example:
[flake8]
max-complexity = 99
Does that do the trick?