"examples/git@developer.sourcefind.cn:OpenDAS/nni.git" did not exist on "e862d39ee96aad5b9fdc3bb535df3a89bd1807af"
Unverified Commit f36758da authored by chicm-ms's avatar chicm-ms Committed by GitHub
Browse files

Merge pull request #26 from microsoft/master

Run flake8 tests to find Python syntax errors and undefined names (#1…
parents c0ffc188 917ce97f
...@@ -13,6 +13,11 @@ jobs: ...@@ -13,6 +13,11 @@ jobs:
- script: | - script: |
source install.sh source install.sh
displayName: 'Install nni toolkit via source code' 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: | - script: |
cd test cd test
source unittest.sh source unittest.sh
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment