mirror of
https://github.com/kennethreitz/requests3.git
synced 2026-06-05 23:10:16 +00:00
Azrue pipelines: Use flake8 to find undefined names
This commit is contained in:
@@ -26,6 +26,11 @@ steps:
|
||||
pip install -r requirements.txt
|
||||
displayName: 'Install dependencies'
|
||||
|
||||
- script: |
|
||||
pip install flake8
|
||||
flake8 . --count --exclude=./requests3/core/_http/packages/six.py --select=F821 --show-source --statistics
|
||||
displayName: 'flake8 undefined names'
|
||||
|
||||
- script: |
|
||||
pip install pytest pytest-azurepipelines
|
||||
pytest
|
||||
|
||||
Reference in New Issue
Block a user