From 39696d9d80699d01ebfbba8a9694132f033d7bee Mon Sep 17 00:00:00 2001 From: John Seong <39040639+sandole@users.noreply.github.com> Date: Mon, 9 Feb 2026 16:18:46 -0800 Subject: [PATCH] chore(ci): remove redundant bandit dependency (#7347) Ruff's S (flake8-bandit) rules already cover bandit's checks and are enabled in ruff.toml. Bandit was also non-blocking (|| true) in CI, making it purely informational. Remove it to reduce dependencies and speed up the linting pipeline. Co-authored-by: Danglewood <85772166+deeleeramone@users.noreply.github.com> --- .github/workflows/general-linting.yml | 1 - openbb_platform/extensions/devtools/pyproject.toml | 1 - 2 files changed, 2 deletions(-) diff --git a/.github/workflows/general-linting.yml b/.github/workflows/general-linting.yml index f1e6f313030..3735c0d8ea2 100644 --- a/.github/workflows/general-linting.yml +++ b/.github/workflows/general-linting.yml @@ -59,7 +59,6 @@ jobs: - run: | pip install openbb-devtools pip install types-pytz types-requests types-termcolor types-tabulate types-PyYAML types-python-dateutil types-setuptools types-six - - run: bandit -x ./tests -r . || true - run: codespell --ignore-words=.codespell.ignore --skip="$(tr '\n' ',' < .codespell.skip | sed 's/,$//')" --quiet-level=2 - run: | # Run linters for openbb_platform | cli diff --git a/openbb_platform/extensions/devtools/pyproject.toml b/openbb_platform/extensions/devtools/pyproject.toml index 36864d0b1c2..3ac39b729e2 100644 --- a/openbb_platform/extensions/devtools/pyproject.toml +++ b/openbb_platform/extensions/devtools/pyproject.toml @@ -14,7 +14,6 @@ pylint = "^3.3" mypy = "^1.12.1" pydocstyle = "^6.3.0" black = "^25.1.0" -bandit = "^1.7.5" codespell = "^2.2.5" pre-commit = "^3.5.0" tox = "^4.11.3"