vim-flake8 icon indicating copy to clipboard operation
vim-flake8 copied to clipboard

Disable complexity warnings?

Open psihonavt opened this issue 5 years ago • 1 comments

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: image Could you please advise?

psihonavt avatar May 26 '20 19:05 psihonavt

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?

nvie avatar May 26 '20 22:05 nvie