diff --git a/azure-pipelines.yml b/azure-pipelines.yml index cca5bd21..9360c257 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -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