From 681475750263ccf95c8d20a328e825200556cacb Mon Sep 17 00:00:00 2001 From: Adar Nimrod <nimrod@shore.co.il> Date: Wed, 19 Jun 2019 02:16:50 +0300 Subject: [PATCH] Add Bandit pre-commit check. --- .pre-commit-config.yaml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index f185f9e..07f5b00 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -39,7 +39,8 @@ repos: hooks: - id: flake8 args: - - '--max-line-length=79' + - |- + --max-line-length=79 additional_dependencies: - flake8-bugbear - repo: https://github.com/pre-commit/mirrors-pylint @@ -50,3 +51,7 @@ repos: rev: v1.16.0 hooks: - id: yamllint + - repo: https://github.com/PyCQA/bandit + rev: 1.6.1 + hooks: + - id: bandit -- GitLab