Skip to content

Commit 37160d6

Browse files
authored
Ignore _management_client.py from SDK also (#25)
1 parent 39c945a commit 37160d6

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

scripts/ci/test_static.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@ set -e
44
proc_number=`python -c 'import multiprocessing; print(multiprocessing.cpu_count())'`
55

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

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

0 commit comments

Comments
 (0)