Add `bandit` checking to CI

This commit is contained in:
Chocobo1 2023-05-23 02:29:25 +08:00
parent 6677f9a8c0
commit 60a3f4d9c9
No known key found for this signature in database
GPG Key ID: 210D9C873253A68C

View File

@ -27,10 +27,12 @@ jobs:
python-version: ${{ matrix.python-version }}
- name: Install tools
run: pip install pycodestyle pyflakes
run: pip install bandit pycodestyle pyflakes
- name: Lint code
run: pyflakes nova3/engines/*.py
run: |
pyflakes nova3/engines/*.py
bandit --skip B110,B314,B405 nova3/engines/*.py
- name: Format code
run: |