From eb2d3ca2bd84026e5fa4e5980b13d1621f1792d4 Mon Sep 17 00:00:00 2001 From: ItsDrike Date: Fri, 3 Dec 2021 14:45:55 +0100 Subject: [PATCH] Enable flake8 linting for coc-pyright --- home/.config/nvim/coc-settings.json | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/home/.config/nvim/coc-settings.json b/home/.config/nvim/coc-settings.json index 38ed7e2..c774237 100644 --- a/home/.config/nvim/coc-settings.json +++ b/home/.config/nvim/coc-settings.json @@ -10,5 +10,9 @@ "diagnostic.checkCurrentLine": true, "coc.preferences.formatOnSaveFiletypes": [ "json" + ], + "python.linting.flake8Enabled": true, + "python.linting.flake8Args": [ + "--ignore=ANN204,ANN101,ANN102,ANN002,ANN003" ] }