From c57d6c73cc86c286fae21f69b4f8f2b568b63616 Mon Sep 17 00:00:00 2001 From: simon Date: Sat, 22 Jan 2022 17:52:13 +0700 Subject: [PATCH] remove bandit, too many false positive --- .github/workflows/lint_python.yml | 1 - deploy.sh | 4 +--- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/.github/workflows/lint_python.yml b/.github/workflows/lint_python.yml index d34cfdc7..8e0dc7e5 100644 --- a/.github/workflows/lint_python.yml +++ b/.github/workflows/lint_python.yml @@ -9,7 +9,6 @@ jobs: - run: pip install --upgrade pip wheel - run: pip install bandit black codespell flake8 flake8-bugbear flake8-comprehensions isort - - run: bandit --recursive --skip B105,B108,B404,B603,B607 . - run: black --check --diff --line-length 79 . - run: codespell - run: flake8 . --count --max-complexity=12 --max-line-length=79 diff --git a/deploy.sh b/deploy.sh index 8e900e3e..1af78657 100755 --- a/deploy.sh +++ b/deploy.sh @@ -85,9 +85,7 @@ function validate { fi echo "run validate on $check_path" - - echo "running bandit" - bandit --recursive --skip B105,B108,B404,B603,B607 "$check_path" + echo "running black" black --diff --color --check -l 79 "$check_path" echo "running codespell"