summaryrefslogtreecommitdiff
path: root/requirements_test_pre_commit.txt
diff options
context:
space:
mode:
authorMark Byrne <31762852+mbyrnepr2@users.noreply.github.com>2022-12-09 16:27:10 +0100
committerGitHub <noreply@github.com>2022-12-09 16:27:10 +0100
commitb5a85f68b572c14cd2661d58b4d84c0eaf5a4b11 (patch)
tree587c98df397464929ae14d6b6507dd265dd9dd4b /requirements_test_pre_commit.txt
parent4827cfa90b935666a84c049259367a04567aab74 (diff)
downloadpylint-git-b5a85f68b572c14cd2661d58b4d84c0eaf5a4b11.tar.gz
Fix `bandit` high-severity warnings and use pre-commit (#7913)
Remove `shell=True` argument of `subprocess.call`. Refactor: Use `subprocess.run` instead of `subprocess.call`. Add `bandit` to .pre-commit-config.yaml. Use `gitpython` for clone command. Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com>
Diffstat (limited to 'requirements_test_pre_commit.txt')
-rw-r--r--requirements_test_pre_commit.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/requirements_test_pre_commit.txt b/requirements_test_pre_commit.txt
index 74eec8d62..c5d1fcb92 100644
--- a/requirements_test_pre_commit.txt
+++ b/requirements_test_pre_commit.txt
@@ -1,5 +1,6 @@
# Everything in this file should reflect the pre-commit configuration
# in .pre-commit-config.yaml
+bandit==1.7.4
black==22.10.0
flake8==6.0.0
flake8-bugbear==22.10.27