mirror of
https://github.com/kennethreitz/requests3.git
synced 2026-06-05 23:10:16 +00:00
Merge pull request #7 from cclauss/patch-4
Azure pipelines: Use flake8 to find undefined names
This commit is contained in:
+6
-1
@@ -23,9 +23,14 @@ steps:
|
||||
|
||||
- script: |
|
||||
python -m pip install --upgrade pip
|
||||
pip install -r requirements.txt
|
||||
# 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