From 67f04dfd4689db337b3a74093948863418e16014 Mon Sep 17 00:00:00 2001 From: mulhern Date: Wed, 22 Apr 2026 09:45:47 -0400 Subject: [PATCH] Remove bandit from linters It is not supported in Fedora 43 and we expect to start using ruff for Python linting in the near future. Signed-off-by: mulhern --- .github/workflows/main.yml | 2 +- Makefile | 6 ------ 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 5f8e055..dd2141e 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -21,12 +21,12 @@ jobs: - dependencies: yamllint task: make -f Makefile yamllint - dependencies: > - bandit libatomic pylint python3-dbus python3-dbus-signature-pyparsing python3-hypothesis + python3-setuptools task: > PATH=${PATH}:/github/home/.local/bin PYTHONPATH=./src make -f Makefile lint diff --git a/Makefile b/Makefile index 2f49f67..de7e09b 100644 --- a/Makefile +++ b/Makefile @@ -5,12 +5,6 @@ lint: pylint setup.py pylint src/into_dbus_python pylint tests - bandit setup.py - # Ignore B101 errors. We do not distribute optimized code, i.e., .pyo - # files in Fedora, so we do not need to have concerns that assertions - # are removed by optimization. - bandit --recursive ./src --skip B101 - bandit --recursive ./tests pyright .PHONY: test