Skip to content

Commit

Permalink
Ignore _management_client.py from SDK also (#25)
Browse files Browse the repository at this point in the history
  • Loading branch information
derekbekoe authored Dec 19, 2017
1 parent 39c945a commit 37160d6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions scripts/ci/test_static.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ set -e
proc_number=`python -c 'import multiprocessing; print(multiprocessing.cpu_count())'`

# Run pylint/flake8 on extensions
# - We ignore 'models' and 'operations' as they typically come from vendored Azure SDKs
pylint ./src/*/azext_*/ --ignore=models,operations --rcfile=./pylintrc -j $proc_number
flake8 --statistics --exclude=models,operations --append-config=./.flake8 ./src/*/azext_*/
# - We ignore 'models', 'operations' and files with suffix '_management_client.py' as they typically come from vendored Azure SDKs
pylint ./src/*/azext_*/ --ignore=models,operations,service_bus_management_client --ignore-patterns=[a-zA-Z_]+_management_client.py --rcfile=./pylintrc -j $proc_number
flake8 --statistics --exclude=models,operations,*_management_client.py --append-config=./.flake8 ./src/*/azext_*/

# Run pylint/flake8 on CI files
pylint ./scripts/ci/*.py --rcfile=./pylintrc
Expand Down

0 comments on commit 37160d6

Please sign in to comment.