Allow to skip the security scan #18
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: lint | |
on: | |
- push | |
- pull_request | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: set up python | |
uses: actions/setup-python@v2 | |
with: | |
python-version: '3.10' | |
- name: install Python dependencies | |
run: | | |
pip install -r requirements.txt | |
pip install bandit flake8 pyright | |
- name: run flake8 | |
run: flake8 | |
- name: run bandit | |
run: bandit -r deterrersapi | |
- name: run pyright | |
run: pyright --skipunannotated deterrersapi |