nvie / vim-flake8

Flake8 plugin for Vim
BSD 2-Clause "Simplified" License
1.07k stars 99 forks source link

Disable complexity warnings? #84

Open psihonavt opened 4 years ago

psihonavt commented 4 years ago

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?

nvie commented 4 years ago

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?