Skip to content
This repository has been archived by the owner on Sep 18, 2024. It is now read-only.

Fix pylint dependencies #1686

Merged
merged 1 commit into from
Nov 1, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,16 @@ jobs:
python3 -m pip install --upgrade pip setuptools --user
python3 -m pip install pylint==2.3.1 --user
displayName: 'Install python tools'
- script: |
python3 -m pylint --rcfile pylintrc tools
python3 -m pylint --rcfile src/sdk/pynni/pylintrc src/sdk/pycli/nnicli
python3 -m pylint --rcfile src/sdk/pynni/pylintrc src/sdk/pynni/nni
displayName: 'Run pylint'
- script: |
python3 -m pip install torch==0.4.1 --user
python3 -m pip install torchvision==0.2.1 --user
python3 -m pip install tensorflow==1.12.0 --user
displayName: 'Install dependencies for integration'
- script: |
python3 -m pylint --rcfile pylintrc tools
python3 -m pylint --rcfile src/sdk/pynni/pylintrc src/sdk/pycli/nnicli
python3 -m pylint --rcfile src/sdk/pynni/pylintrc src/sdk/pynni/nni
displayName: 'Run pylint'
- script: |
source install.sh
displayName: 'Install nni toolkit via source code'
Expand Down