Skip to content

Commit 7a12299

Browse files
Ruan Hsuan WeiRuan Hsuan Wei
authored andcommitted
add flake8 to azure-pipeline.yml
1 parent 5e776ec commit 7a12299

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

azure-pipelines.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,11 @@ steps:
2727
- script: |
2828
python setup.py build
2929
displayName: 'Autogenerate gRPC Python files'
30-
30+
31+
- script: |
32+
flake8 . --count --show-source --statistics --exit-zero
33+
displayName: 'Run lint test with flake8'
34+
3135
- script: |
3236
pip install pytest pytest-azurepipelines
3337
pytest

0 commit comments

Comments
 (0)