Feature/ncsdk 26629 migration to ncs #523
Workflow file for this run
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: Code scan | |
on: | |
push: | |
branches: [ main, develop ] | |
pull_request: | |
branches: [ main, develop ] | |
jobs: | |
code-check: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Check code with black | |
run: | | |
pip install black | |
black -v --check --diff . | |
- name: Check code with flake8 | |
run: | | |
pip install flake8 | |
flake8 . | |
- name: Check code with pydocstyle | |
run: | | |
pip install pydocstyle | |
pydocstyle . |