From 81edc3430cf42e6bfe0a8a1896d7c52d65c8d493 Mon Sep 17 00:00:00 2001 From: wuttinanhi Date: Sat, 12 Nov 2022 10:59:52 +0000 Subject: [PATCH] update pylint config --- .pylintrc | 2 +- .vscode/settings.json | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.pylintrc b/.pylintrc index 9f88886..0f7959c 100644 --- a/.pylintrc +++ b/.pylintrc @@ -63,7 +63,7 @@ ignored-modules= # Python code to execute, usually for sys.path manipulation such as # pygtk.require(). -#init-hook= +init-hook=="from pylint.config import find_pylintrc; import os, sys; sys.path.append(os.path.dirname(find_pylintrc()))" # Use multiple processes to speed up Pylint. Specifying 0 will auto-detect the # number of processors available to use, and will cap the count on Windows to diff --git a/.vscode/settings.json b/.vscode/settings.json index 635739d..e0d3e92 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -26,5 +26,6 @@ "**/Thumbs.db": true, "**/__pycache__": true, }, - "thunder-client.saveToWorkspace": true + "thunder-client.saveToWorkspace": true, + "python.linting.pylintPath": "venv/bin/pylint" } \ No newline at end of file