From 5201c153feadfc2b21aaa5639c5bcaae2b7de5c2 Mon Sep 17 00:00:00 2001 From: Stefan Hynek <stefan.hynek@uni-goettingen.de> Date: Thu, 18 Nov 2021 14:10:43 +0100 Subject: [PATCH] build(pypi): add bandit and types-requests also, enable bandit and pylint in vscode --- .vscode/settings.json | 7 +++++-- requirements.dev.txt | 2 ++ 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/.vscode/settings.json b/.vscode/settings.json index a695e6a..f70820d 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -1,5 +1,8 @@ { "python.formatting.provider": "autopep8", "python.pythonPath": "venv/bin/python", - "python.linting.enabled": true -} \ No newline at end of file + "python.linting.enabled": true, + "python.linting.banditEnabled": true, + "python.linting.pylintEnabled": true, + "python.linting.mypyEnabled": false, +} diff --git a/requirements.dev.txt b/requirements.dev.txt index 9c6f1c6..a8ca70e 100644 --- a/requirements.dev.txt +++ b/requirements.dev.txt @@ -1,6 +1,8 @@ autopep8==1.5.7 +bandit==1.7.0 commitizen==2.20.0 mypy==0.910 pre-commit==2.15.0 pylint==2.11.1 rstcheck==3.3.1 +types-requests==2.25.11 -- GitLab