fix: Update Bandit command in CI workflows to run checks on tests directory

This commit is contained in:
2025-11-12 11:53:34 +01:00
parent d89b09fa80
commit 3bdae3c54c
3 changed files with 2 additions and 5 deletions
-3
View File
@@ -1,3 +0,0 @@
[bandit]
skips = B101,B601
exclude_dirs = alembic,scripts
+1 -1
View File
@@ -51,7 +51,7 @@ jobs:
run: black --check .
- name: Run bandit
run: bandit --ini .\.bandit -c pyproject.toml .
run: bandit -c pyproject.toml -r tests
test:
runs-on: ubuntu-latest
+1 -1
View File
@@ -57,7 +57,7 @@ jobs:
run: black --check .
- name: Run Bandit
run: bandit --ini .\.bandit -c pyproject.toml .
run: bandit -c pyproject.toml -r tests
test:
runs-on: ubuntu-latest