From 869aa411f4e2f1cd23f958efdea9aac662578554 Mon Sep 17 00:00:00 2001 From: cclauss Date: Sat, 20 Apr 2019 09:31:48 +0200 Subject: [PATCH] Azrue pipelines: Use flake8 to find undefined names --- azure-pipelines.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index cca5bd21..03e626ee 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -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