From 34ca4e0db0a1419cb01cd83b467950d24c0736c2 Mon Sep 17 00:00:00 2001 From: Ilya Lavrenov Date: Tue, 14 Jan 2025 21:54:47 +0400 Subject: [PATCH] Upgrade to new bandit version (#1546) Ported https://github.com/openvinotoolkit/openvino_tokenizers/pull/368 --- .github/workflows/bandit.yml | 2 +- bandit.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/bandit.yml b/.github/workflows/bandit.yml index 5a56c01cb2..fce770d101 100644 --- a/.github/workflows/bandit.yml +++ b/.github/workflows/bandit.yml @@ -13,5 +13,5 @@ jobs: - uses: actions/setup-python@v4 with: python-version: 3.11 - - run: python -m pip install bandit==1.8.0 + - run: python -m pip install bandit - run: python -m bandit --recursive --configfile bandit.yml . diff --git a/bandit.yml b/bandit.yml index b4d31fb76a..bdd324b1da 100644 --- a/bandit.yml +++ b/bandit.yml @@ -79,7 +79,7 @@ # IPAS Required Checkers. Do not disable these # Additional checkers may be added if desired tests: - [ 'B301', 'B302', 'B303', 'B304', 'B305', 'B306', 'B308', 'B310', 'B311', 'B312', 'B313', 'B314', 'B315', 'B316', 'B317', 'B318', 'B319', 'B320', 'B321', 'B323', 'B324', 'B401', 'B402', 'B403', 'B404', 'B405', 'B406', 'B407', 'B408', 'B409', 'B410', 'B411', 'B412', 'B413'] + [ 'B301', 'B302', 'B303', 'B304', 'B305', 'B306', 'B308', 'B310', 'B311', 'B312', 'B313', 'B314', 'B315', 'B316', 'B317', 'B318', 'B319', 'B321', 'B323', 'B324', 'B401', 'B402', 'B403', 'B404', 'B405', 'B406', 'B407', 'B408', 'B409', 'B411', 'B412', 'B413'] # (optional) list skipped test IDs here, eg '[B101, B406]': # The following checkers are not required but be added to tests list if desired