Skip to content

Commit b2c4638

Browse files
authored
Update linting.yml - Adding bandit to workflow (#95)
* Update linting.yml * Update linting.yml
1 parent e7056b4 commit b2c4638

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/linting.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
- name: Install dependencies
2727
run: |
2828
python -m pip install --upgrade pip
29-
python -m pip install flake8 pytest coverage
29+
python -m pip install flake8 pytest coverage bandit
3030
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
3131
- name: Lint with flake8
3232
run: |
@@ -41,3 +41,6 @@ jobs:
4141
run: |
4242
coverage run --source src -m pytest -s
4343
coverage report
44+
- name: Analyze with Bandit
45+
run: |
46+
bandit -r src

0 commit comments

Comments
 (0)