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

View File

@@ -1,3 +0,0 @@
[bandit]
skips = B101,B601
exclude_dirs = alembic,scripts

View File

@@ -51,7 +51,7 @@ jobs:
run: black --check . run: black --check .
- name: Run bandit - name: Run bandit
run: bandit --ini .\.bandit -c pyproject.toml . run: bandit -c pyproject.toml -r tests
test: test:
runs-on: ubuntu-latest runs-on: ubuntu-latest

View File

@@ -57,7 +57,7 @@ jobs:
run: black --check . run: black --check .
- name: Run Bandit - name: Run Bandit
run: bandit --ini .\.bandit -c pyproject.toml . run: bandit -c pyproject.toml -r tests
test: test:
runs-on: ubuntu-latest runs-on: ubuntu-latest