Merge pull request #7 from cclauss/patch-4

Azure pipelines: Use flake8 to find undefined names
This commit is contained in:
2019-04-20 09:18:01 -04:00
committed by GitHub
+6 -1
View File
@@ -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