Add `bandit` checking to CI
This commit is contained in:
parent
6677f9a8c0
commit
60a3f4d9c9
|
|
@ -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: |
|
||||
|
|
|
|||
Loading…
Reference in New Issue