From db0355828895a73a03a20752493aeaa066de8ce8 Mon Sep 17 00:00:00 2001 From: Ines Montani Date: Sat, 9 Mar 2019 02:59:29 +0100 Subject: [PATCH] Fix flake8 --- azure-pipelines.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 822606065..3deca85ce 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -11,7 +11,12 @@ jobs: # Perform basic checks for most important errors (syntax etc.) Uses the config # defined in .flake8 and overwrites the selected codes. - job: 'Validate' + pool: + vmImage: 'ubuntu-16.04' steps: + - task: UsePythonVersion@0 + inputs: + versionSpec: '3.7' - script: | pip install flake8 python -m flake8 spacy --count --select=E901,E999,F821,F822,F823 --show-source --statistics