Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
nni
Commits
f36758da
Unverified
Commit
f36758da
authored
Jul 11, 2019
by
chicm-ms
Committed by
GitHub
Jul 11, 2019
Browse files
Merge pull request #26 from microsoft/master
Run flake8 tests to find Python syntax errors and undefined names (#1…
parents
c0ffc188
917ce97f
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
azure-pipelines.yml
azure-pipelines.yml
+5
-0
No files found.
azure-pipelines.yml
View file @
f36758da
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment