Skip to content

Commit

Permalink
Merge pull request #26 from microsoft/master
Browse files Browse the repository at this point in the history
Run flake8 tests to find Python syntax errors and undefined names (#1
  • Loading branch information
chicm-ms authored Jul 11, 2019
2 parents c0ffc18 + 917ce97 commit f36758d
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,11 @@ jobs:
- script: |
source install.sh
displayName: 'Install nni toolkit via source code'
- script: |
python3 -m pip install flake8 --user
IGNORE=./tools/nni_annotation/testcase/*:F821,./examples/trials/mnist-nas/mnist.py:F821
python3 -m flake8 . --count --per-file-ignores=$IGNORE --select=E9,F63,F72,F82 --show-source --statistics
displayName: 'Run flake8 tests to find Python syntax errors and undefined names'
- script: |
cd test
source unittest.sh
Expand Down

0 comments on commit f36758d

Please sign in to comment.