From b9afa56d96f91f292c26d1b0439c063bab695703 Mon Sep 17 00:00:00 2001 From: ItsDrike Date: Tue, 7 Dec 2021 22:26:32 +0100 Subject: [PATCH] Remove default coc-pyright args for flake8 - Default args cause problems when we have other custom flake8 rules defined in files such as tox.ini since these project-specifc settings were simply getting ignored in favor of the default args. We should instead always rely on the project's settings --- home/.config/nvim/coc-settings.json | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/home/.config/nvim/coc-settings.json b/home/.config/nvim/coc-settings.json index c774237..3665990 100644 --- a/home/.config/nvim/coc-settings.json +++ b/home/.config/nvim/coc-settings.json @@ -11,8 +11,5 @@ "coc.preferences.formatOnSaveFiletypes": [ "json" ], - "python.linting.flake8Enabled": true, - "python.linting.flake8Args": [ - "--ignore=ANN204,ANN101,ANN102,ANN002,ANN003" - ] + "python.linting.flake8Enabled": true }