neoclide / coc-python

Python extension for coc.nvim, fork of vscode-python
573 stars 51 forks source link

Remap diagnostic error level #296

Open mosheavni opened 3 years ago

mosheavni commented 3 years ago

Hi, I have flake8 for diagnostics, and it marks the error line too long as error. I'd rather it be on informational level. I tried:

  "python.analysis.information": ["line too long"],

But of course it does not work. Can it be done? Also, when fixing a problem, the gutter doesn't refresh until I save the file. Can I make it lint as soon as I make the fix? Thanks.